src/java.desktop/share/classes/java/awt/Dialog.java

Print this page

        

*** 752,762 **** if (parent != null && parent.peer == null) { parent.addNotify(); } if (peer == null) { ! peer = getToolkit().createDialog(this); } super.addNotify(); } } --- 752,762 ---- if (parent != null && parent.peer == null) { parent.addNotify(); } if (peer == null) { ! peer = getComponentFactory().createDialog(this); } super.addNotify(); } }