jdk/src/java.desktop/share/classes/java/awt/Dialog.java
changeset 30471 c1568a2416a8
parent 30469 bac0a7ff7e1e
child 32865 f9cb6e427f9e
--- a/jdk/src/java.desktop/share/classes/java/awt/Dialog.java	Fri Apr 17 16:57:30 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/java/awt/Dialog.java	Fri Apr 17 17:01:24 2015 +0300
@@ -754,7 +754,7 @@
             }
 
             if (peer == null) {
-                peer = getToolkit().createDialog(this);
+                peer = getComponentFactory().createDialog(this);
             }
             super.addNotify();
         }