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