My assignment firstly show a JDialog to config the connection to local or remote database ( at this time , the main JFrame is not visible ). But if i click other program ( even DOS console ) before the JDialog appear , the JDialog will not be shown to user . I think there may be some things wrong with the setting of this JDialog's Z-order . please help me . BTW , i set the JDialog shown modally.
I *think* this will accomplish what you need, coercing the dialog to come to the front while recognizing that it is modal. Another possibility is to overload the setVisible method of the dialog to invoke the superclass setVisible but also add a toFront(). Two ideas off the top of my head.... Eric
Joined: Sep 12, 2002
Thanks , Eric . With ur help , I have solved that .
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com