Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / August 2003

Tip: Looking for answers? Try searching our database.

(Swing) Strange popup window behavior

Thread view: 
Dmitry R - 29 Aug 2003 05:08 GMT
I have a swing program which has a dialog box with help button. I
believe that this dialog box is modal. When I press help button it
opens a popup window with help text. However this window doesn't
respond to any users input, it looks like it doesn't receive any
events. If I switch to a dialog box from I opened the window and close
the dialog box, then help window popup becomes alive and I can scroll
text and close it. More strange thing is, if I leave the popup open
and open another dialog box, then the popup freezes again. It looks
like connected to dialog's message loop. Does somebody know how to
avoid this problem, or work around, or what can be an issue?
Harald Hein - 29 Aug 2003 06:03 GMT
> I have a swing program which has a dialog box with help button. I
> believe that this dialog box is modal.

You believe or you know?

> When I press help button it
> opens a popup window with help text. However this window doesn't
> respond to any users input, it looks like it doesn't receive any
> events.

Check the popup window's parent window. I bet you are lazy and didn't
provide on in the constructor.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.