简体   繁体   中英

How to work with changing GUI's in NetBeans Java

I'm creating an application to test my Java skills, and I am using NetBeans because of the GUI builder because I'm not quite used to laying GUI's out by hand yet (the GUI is in Swing). I have a simple login form, that if the login information is correct, disappears and is replaced with different GUI elements. How could I make the second page that replaces the login page with the GUI builder?

You probably want a CardLayout . However, this might be a dup of Java Swing: How can I implement a login screen before showing a JFrame?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM