System.out.println("SHOW CONSOLE" +(scriptWindow==null));
if (scriptWindow == null)
return;
- if (showConsole)
- scriptWindow.show();
- else
- scriptWindow.hide();
+
+ scriptWindow.setVisible(showConsole);
}
public float functionXY(String functionName, int x, int y) {
originalLabel = "Feature Colour";\r
setForDialog("Select Feature Colour", alignframe);\r
setTargetColour(fr.colourPanel.getBackground());\r
- dialog.show();\r
+ dialog.setVisible(true);\r
}\r
\r
public UserDefinedColours(Component caller,\r
originalLabel = "Select Colour";\r
setForDialog("Select Colour", alignframe);\r
setTargetColour(col1);\r
- dialog.show();\r
+ dialog.setVisible(true);\r
}\r
\r
\r