HI
Can anyone help with the scenario where where you have to pass a certain data from one JFrame to another.
For example, suppose you have a JFrame is your main window you disabled your Jmenu and have an option of Login button and the login button calls another JDialog Class, say if Login() is true in Jdialog then enable JMenu on JFrame(Main window) exit the JDialog class.
I am using NetBeans.
Because I want to control the menu according to the Login status if is Administrator or not.
Can anyone help with the scenario where where you have to pass a certain data from one JFrame to another.
For example, suppose you have a JFrame is your main window you disabled your Jmenu and have an option of Login button and the login button calls another JDialog Class, say if Login() is true in Jdialog then enable JMenu on JFrame(Main window) exit the JDialog class.
I am using NetBeans.
Because I want to control the menu according to the Login status if is Administrator or not.
Comment