I want to create a splitpane like this:
how can I make this. when I add tabs I can add them only in the positions: TOP , BOTTOM , RIGHT , LEFT.
How can I do this?
I want to create a splitpane like this:
how can I make this. when I add tabs I can add them only in the positions: TOP , BOTTOM , RIGHT , LEFT.
How can I do this?
The panel on the left side should use a
CardLayout
.The panel on the right side can display JButtons. When you click on the button you swap the panel on the left side.
Read the section from the Swing tutorial on How to Use CardLayout for more information and working examples.