Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java Swing :Back Button from one form to another form

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java Swing :Back Button from one form to another form

    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.


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Java Swing :Back Button from one form to another form

    Hello srinivasan_253642.

    Please try doing a search on the forums. I'm sure this has been answered before.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. Forgot to back up
    By WebPVP in forum Java Theory & Questions
    Replies: 5
    Last Post: October 13th, 2009, 07:13 PM
  2. Simple Form Help
    By dsen in forum Web Frameworks
    Replies: 1
    Last Post: September 8th, 2009, 11:32 PM
  3. [SOLVED] how to delete an item from a form
    By mahdi in forum Java ME (Mobile Edition)
    Replies: 3
    Last Post: August 30th, 2009, 01:06 PM
  4. Replies: 4
    Last Post: August 13th, 2009, 05:54 AM
  5. Use of scanner to return white space between the tokens
    By Alysosh in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: May 20th, 2009, 09:22 AM