Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   JOptionPane (http://www.velocityreviews.com/forums/t139132-joptionpane.html)

juicy 12-10-2004 09:26 AM

JOptionPane
 
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?


joeking@merseymail.com 12-10-2004 11:53 AM

Re: JOptionPane
 

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- ><>


juicy 12-11-2004 02:11 AM

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

but still cannot...




All times are GMT. The time now is 06:22 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.