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
Please sign in to leave a comment.
You're welcome to use everything from Java Swing and our community libraries.
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. :)
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.
Ah MigLayout is perfect, I used this years before.