ToolWindow Layout best practice?

Hello, I want to add some Content to my ToolWindow inside my Plugin.

I want to start with a layout. I know that it is Java Swing, so can I use the normal Layout Gird, Flow or something else? Or is their a Layout in the SDK that I can use?

I want to get something similar the Version Control Tool Window, with the Button on the left side and beside this a Tree with the Info I want to display.

regards

Chris

0
4 comments
Avatar
Permanently deleted user

You're welcome to use everything from Java Swing and our community libraries.

0

Thank you, but do have a little hint which Layout I have to use to make somenthing similar to the Version Control Tool Window? That would save me some time. :)

0
Avatar
Permanently deleted user

Unfortunately there is no special 'magic' layout that might help you a lot, all swing layouts like standard BorderLayout or GridBagLayout are responsible for components visual arrangement only and all components choose/logic/models are up to you. Also we bundle and use MigLayout, you can try this one.

0

Ah MigLayout is perfect, I used this years before.

0

Please sign in to leave a comment.