Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Location
    Delhi
    Posts
    8
    Rep Power
    0

    Thumbs up how to make joptionpane "always on top"

    how to make joptionpane "always on top".

    Often joption pane goes behind the browser window when called from jsp page.I am not using JDialog (modal).

    do u have ny solution for that>>>>>>>>>:o

  2. #2
    veluru's Avatar
    veluru is offline Member
    Join Date
    Feb 2009
    Location
    Hyderabad
    Posts
    1
    Rep Power
    0

    Default Hello

    Hello............

  3. #3
    toadaly is offline Senior Member
    Join Date
    Jan 2009
    Posts
    671
    Rep Power
    6

    Default

    If you don't make it modal, it won't stay on top. To make a JOptionPane modal, you have to provide it with a parent component at the time of creation (the first argument to the create{}OptionPane method must not be null).

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 03:03 AM
  2. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  3. Replies: 1
    Last Post: 10-20-2008, 07:35 AM
  4. <core:forEach var="" begin="+<%=j%>+">???
    By freddieMaize in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2008, 01:20 AM
  5. "Jumble" or "Scramble" Program
    By Shadow22202 in forum Java Applets
    Replies: 8
    Last Post: 04-30-2008, 03:42 AM

Posting Permissions

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