modality « Dialog « Java Swing Q&A





1. dialog modality problem    coderanch.com

Hi , i am desperately trying to find a way to give the user the ability to do some actions on the main application while a dialog is open . typically , copy text from a JFace TextViewer into a find dialog . I am using JFace 3.1 / JDK 1.5 I have tried any combination of shell modes (primary , ...

2. Dialog modality problem    coderanch.com

3. JDialog Modality Type help.    java-forums.org

You may wish to call the super JDialog constructor as the first line of your LoadDistinct constructor, and most importantly pass the JFrame reference to super in this constructor so that the JDialog knows which JFrame to "freeze". You also might wish to do long-acting actions, such as any database actions, in a background thread such as a SwingWorker.