Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2009, 08:41 PM
kapilverma32's Avatar
Member
 
Join Date: Jan 2009
Location: Delhi
Posts: 8
Rep Power: 0
kapilverma32 is on a distinguished road
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>>>>>>>>>
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 02-05-2009, 08:45 PM
veluru's Avatar
Member
 
Join Date: Feb 2009
Location: Hyderabad
Posts: 1
Rep Power: 0
veluru is on a distinguished road
Default Hello
Hello............
__________________
spice
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-06-2009, 08:57 AM
Senior Member
 
Join Date: Jan 2009
Posts: 360
Rep Power: 2
toadaly is on a distinguished road
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).
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java, Military Format using "/" and "%" Operator!! sk8rsam77 New To Java 11 02-26-2010 04:03 AM
MoneyOut.println("It took you (whats wrong?>",year,"<WW?) years to repay the loan") soc86 New To Java 2 01-24-2009 07:56 PM
the dollar sign "$", prints like any other normal char in java like "a" or "*" ? lse123 New To Java 1 10-20-2008 08:35 AM
<core:forEach var="" begin="+<%=j%>+">??? freddieMaize JavaServer Pages (JSP) and JSTL 1 09-27-2008 02:20 AM
"Jumble" or "Scramble" Program Shadow22202 Java Applets 8 04-30-2008 04:42 AM


All times are GMT +2. The time now is 12:56 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org