Which is the best way to link two forms using Jbutton

I have JFrame Form

like my main page with some JButtons

. I want if I click on JButton

another one will appear JFrame Form

and also find a way to go to the main page with open JFrame Form

. What is the best way to achieve this?

My project Java

>Java Application

+1


a source to share


1 answer


You can store the jform links somewhere and call your methods as you see fit.



+1


a source







All Articles