I would like to create a Java Swing application extension to look somewhat similar to an IDE like Eclipse or Visual Studio. That is, there will be a panel on the left, which displays the tree, and a tab bar on the right, which allows you to open and edit several elements of the tree on the right. For this, I could easily use BorderLayout and just use the center and left areas.
However, I would also like the user to be able to drag the border between the two panels, as Eclipse and Visual Studio do. I can come up with several ways to do this, but it was curious if anyone had found a particularly good way to do this or knew an example. Ive googled for this but found nothing.
source share