I'm pretty new to programming Java based GUI applications. Here's what I have in mind, I want to divide the window into two areas. The first are contains buttons (or a list), and based on which button was clicked, or which item was selected, the second area changes. (finite number of buttons) Something like this:
I can think of many ways to do this, but I am not sure what is the best practice. Do I have several invisible panels and make only 1 panel visible at a time, or do I change the ordering (bring panel x to front), or is there some other way?
Appreciate any help I receive!! Thanks in advance!