Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2010
    Posts
    10
    Rep Power
    0

    Thumbs up Java swing window...

    hii..
    thank you all who posted replies to my previous problems..
    they helped me to learna a lot..

    now i am having a problem..
    i have made a GUI using Jswing..
    it is completely ready..
    but i am having following problem..
    wen i click a button in the window..
    it needs to popout another window...

    so wen i click the button another window pops out..
    but wen u close the window which is popped out
    whole program shuts down..
    i dont want that
    i want that only te popped out window gets closed...



    note- the window that is pooped out is the output of Jfreechart and outputs a graph.. in another window..
    so its like i give parameters in a window..
    and see the numeric results in same window but the graph is pooped out..
    so wen i close the graph
    whole program shudnt be closed...



    please help

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,563
    Rep Power
    23

    Default

    whole program shouldn't be closed
    Check what happens when any of the windows are closed. Make sure they are not set to EXIT the program.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

Similar Threads

  1. Swing: unstabel window paint?
    By t500yo in forum AWT / Swing
    Replies: 3
    Last Post: 06-03-2010, 02:25 PM
  2. Replies: 4
    Last Post: 01-10-2010, 07:48 AM
  3. change url in parent window from child window
    By rakesh_n_mehta in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-09-2009, 12:17 PM
  4. how can i move one frame window to another window
    By santhosh_el in forum AWT / Swing
    Replies: 8
    Last Post: 06-10-2009, 03:36 PM
  5. XTerm window appearing in full screen swing app
    By clarose in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2008, 10:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •