|
|
|
@ -68,12 +68,9 @@ public class DesignerLoginHelper {
|
|
|
|
|
if (dialog == null) { |
|
|
|
|
if (window instanceof Dialog) { |
|
|
|
|
dialog = new DesignerLoginShowDialog((Dialog) window, designerLoginPane); |
|
|
|
|
} else if (window instanceof Frame) { |
|
|
|
|
dialog = new DesignerLoginShowDialog((Frame) window, designerLoginPane); |
|
|
|
|
} else { |
|
|
|
|
return; |
|
|
|
|
dialog = new DesignerLoginShowDialog((Frame) window, designerLoginPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
dialog.setVisible(true); |
|
|
|
|
} |
|
|
|
|