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.


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

Results 1 to 2 of 2

Thread: jinternalframe in a jframe query

  1. #1
    Junior Member
    Join Date
    May 2012
    Thanked 0 Times in 0 Posts

    Default jinternalframe in a jframe query

    closing a jframe and simultaneously opening another jframe with a button is easy
    we can do this by close(), dispose,this.setvisibe(false)

    my query is :-
    i have made a jinternalframe in a jframe which i implemented using jdesktopPane
    i have a button LOGIN in the jinternalframe which closes the jinternalframe only and opens another jframe.
    i want a code which will close jframe(which has the internalframe) on clicking the button LOGIN in jinternalframe

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: jinternalframe in a jframe query

    This thread has been cross posted here:


    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

Similar Threads

  1. How to add a JInternalFrame within a JTabbedPane
    By Henry518 in forum AWT / Java Swing
    Replies: 0
    Last Post: November 1st, 2011, 03:58 PM
  2. Replies: 1
    Last Post: September 26th, 2011, 07:23 AM
  3. update query is firing first then insert query
    By salmondavid88 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 8th, 2011, 10:15 AM
  4. [SOLVED] How to reload JInternalFrame
    By chyrl in forum AWT / Java Swing
    Replies: 7
    Last Post: April 6th, 2010, 06:31 AM
  5. Question about JInternalFrame
    By TimW in forum AWT / Java Swing
    Replies: 0
    Last Post: November 7th, 2009, 08:31 AM