am developing a gui based application.my problem is that i want to see a second gui form i created when i click on the continue button on my first form....here is a portion of my code......please i need your help,what should i do in my logic? THANKS
Welcome to the Ranch
You have already been told your code is far too much for anybody to read.
Your indentation is incorrect, as are the forms of your identifiers (no capital letters).
Never write == true.
How do you think you would create a second GUI? A new frame, or a new window or a new dialog?
"am developing a GUI based application.my problem is that i want to see a second gui form i created when i click on the continue button on my first form....here is a portion of my code......please i need your help,what should i do in my logic? THANKS "
Jr Chukwudi you are welcome to Java and JavaRanch.
I believe you are a fellow Nija...
Actually, your code is too lengthy to read but if I got your question right. I think that what you mean is a situation where you have two or more GUIs say ApplicationForm_1.java, ApplicationForm_2.java and ConfirmationPage.java.
You may want a situation where by the user will start with ApplicationForm_1.java and after successful completion he/she will proceed with ApplicationForm_2.java and ConfirmationPage.java on successful completion of ApplicationForm_2.java.
If that is case study above relates to what you are looking for. Then:
Lets assume that each of the Forms contains a launch() which can be called to launch the GUI and an Event Handler for your Continue Button actionPerformed(ActionEvent eve)
If your design is such that a particular listener is registered to a component that has its handler method designed in the style shown above.
Then you will be sure that that a click to that Component (say Button) will make the frame containing it to be invisible while making the next frame to be visible.
I will like your feedback on how helpful it is to you