Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Swing :Back Button from one form to another form

843807Dec 22 2009 — edited Dec 27 2009
Hi everyone,
i have a form called loginform.java .when i login,the form gets logged in and it gets into the page MainForm(MainForm.java).
In Mainform if i click the Back button,loginform should have to open.(this has to be done in Swing( core java))


i created another instance in Mainform.java for loginform.java.
when i click the back button in Mainform.java ,another loginform gets opened.
So two loginform gets opened seperately.

So give some idea to code this issue.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2010
Added on Dec 22 2009
10 comments
1,759 views