Launching frame from modal dialog

Discussion in 'Java' started by Hawkan, Jan 31, 2013.

  1. Hawkan

    Hawkan Guest

    I have opened up an instance of a subclass to JDialog, which was made
    modal when it was displayed. Based on some interaction in this window, I
    want to open another frame . But when I do that, the subframe is "dead",
    i.e. doesn't react to input at all. This happens even if I first set the
    modal property of the parent to false before showing the subwindow. Does
    anyone know how I can get around this?
     
    Hawkan, Jan 31, 2013
    #1
    1. Advertising

  2. On 1/31/2013 12:03 PM, Hawkan wrote:
    >
    > I have opened up an instance of a subclass to JDialog, which was made
    > modal when it was displayed. Based on some interaction in this window, I
    > want to open another frame . But when I do that, the subframe is "dead",
    > i.e. doesn't react to input at all. This happens even if I first set the
    > modal property of the parent to false before showing the subwindow. Does
    > anyone know how I can get around this?


    An example would have been really nice.

    Have you tried closing the JDialog first?

    --

    Knute Johnson
     
    Knute Johnson, Jan 31, 2013
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saravana
    Replies:
    0
    Views:
    367
    Saravana
    Jul 23, 2003
  2. Craig G
    Replies:
    3
    Views:
    377
    Craig G
    Dec 20, 2004
  3. Leila
    Replies:
    0
    Views:
    421
    Leila
    Apr 26, 2005
  4. Matt
    Replies:
    1
    Views:
    3,164
    Whitecrest
    Jun 1, 2004
  5. Kai Grossjohann
    Replies:
    0
    Views:
    153
    Kai Grossjohann
    Nov 21, 2003
Loading...

Share This Page