I'm new at Java GUI and I'm trying to make a program that shows a login screen and once logged in, a menu. What I am looking for is a way to navigate through different JPanels in just one JFrame. To navigate the user should use buttons located inside these panels.
I use Netbeans to do this. The furthest I got is to open one JPanel in a JFrame, I've been trying to close one and open another but it won't work because the current panel stays open.
The reason I do not want to use the CardLayout is because I do not wish to have to tabs visible. I don't think you can hide them...
I hope you guy's can help me out,
thanks in advance!!