JOptionPane

Discussion in 'Java' started by juicy, Dec 10, 2004.

  1. juicy

    juicy Guest

    i do a simple program which runs in Dos. When user input a keyword, a
    dialog box will pop up but it hides behind all the windows forms i have
    opened. How to let it pop up in front of all the forms?
    juicy, Dec 10, 2004
    #1
    1. Advertising

  2. juicy

    Guest

    juicy wrote:
    > i do a simple program which runs in Dos. When user input a keyword, a
    > dialog box will pop up but it hides behind all the windows forms i

    have
    > opened. How to let it pop up in front of all the forms?

    Try: window.toFront();


    -FISH- ><>
    , Dec 10, 2004
    #2
    1. Advertising

  3. juicy

    juicy Guest

    i put JOptionPane.toFront() or JOptionPane.showConfirmDialog.toFront()?

    but still cannot...
    juicy, Dec 11, 2004
    #3
    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. SuperChuck
    Replies:
    3
    Views:
    4,088
    Sandip Chitale
    Aug 7, 2003
  2. Joseph M. DeAngelo
    Replies:
    0
    Views:
    1,105
    Joseph M. DeAngelo
    Nov 9, 2003
  3. Alex Hunsley

    thread safeness of JOptionPane et al

    Alex Hunsley, Jan 13, 2004, in forum: Java
    Replies:
    0
    Views:
    768
    Alex Hunsley
    Jan 13, 2004
  4. jazzy

    Using JOptionPane

    jazzy, Apr 18, 2004, in forum: Java
    Replies:
    0
    Views:
    373
    jazzy
    Apr 18, 2004
  5. jazzy

    Using JOptionPane

    jazzy, Apr 18, 2004, in forum: Java
    Replies:
    0
    Views:
    580
    jazzy
    Apr 18, 2004
Loading...

Share This Page