modeless « Dialog « Java Swing Q&A





1. Modeless JDialog not showing contents    stackoverflow.com

(Java SE 6) I'm trying to create a pop-up dialog that displays a "please wait" message while my program does some time-intensive work. To do this, I've chosen to use a modeless ...

2. modeless dialogs in swing    coderanch.com

3. modeless JDialog?    coderanch.com

Greg Brannon wrote:How does the code snippet you've shown us know that it's creating a JDialog? class AboutDialog extends JDialog { public AboutDialog(JFrame owner) { super(owner, "About DialogTest", true); // add HTML label to center add( new JLabel( "

Core Java


By Cay Horstmann and Gary Cornell"), BorderLayout.CENTER); ... The whole code is here... import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * @version ...

4. Modeless dialog issue    coderanch.com

posDialog = new PositionRotationDialog(findParentFrame(), m_objNFMGraphicBean, this, false); public Frame findParentFrame() { Container c = this; while (c != null) { if (c instanceof Frame) { return (Frame)c; } c = c.getParent(); } return null; } public PositionRotationDialog(Frame parent, NFMGraphicBean182R bean, NFMAllfaTTGraphic applet, boolean modal) { super(parent, modal); this.bean = bean; this.applet = applet; bean.setEditSelectedObjectMode(); bean.setEditPosFlag(true); bean.setEditRotateFlag(true); DecimalFormatSymbols ds = FactoryMethod(applet.getSymbols()); ds.setDecimalSeparator('.'); ...