Create a Visual Studio type look using Java Swing

Posted by JeffHeaton on Stack Overflow See other posts from Stack Overflow or by JeffHeaton
Published on 2010-04-15T13:43:52Z Indexed on 2010/04/16 20:33 UTC
Read the original article Hit count: 226

Filed under:
|

I would like to create extend a Java Swing application to have a look somewhat similar to an IDE such as Eclipse or Visual Studio. That’s, there would be a panel at the left that displays a tree, and a tab panel on the right that allows several elements of the tree to be opened and edited on right. For this I could easily use a BorderLayout and just use the center and left areas.

However, I would also like to have the ability for the user to drag the border between these two panels, just like Eclipse and Visual Studio allow. I can think of several ways to do this, but was curious if anyone had found a particularly good way to do this, or knew of an example. I’ve googled for it, but have not found anything.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing