I am really new to GUI programming in Java, I did a lot of research and I couldn't find an answer to this problem.
I have a simple JFrame
with a menu, and inside this JFrame
I have a JPanel
with a log in form (were users input their username and password), and then I want to change that JPanel
to another JPanel
depending on what users want to do.
What would be the best way of doing this? I think that stacking JPanels
is OK. But after I add new JLayeredPanels
in Netbeans they don't stack. I read somewhere that I should use Z ordering or something like that, but I can't find it on the designer view.
Well, thank you very much for your patience!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…