setVisible replaces show
[jalview.git] / src / jalview / appletgui / UserDefinedColours.java
index 282e757..6e14146 100755 (executable)
@@ -89,7 +89,7 @@ public class UserDefinedColours
     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
@@ -101,7 +101,7 @@ public class UserDefinedColours
     originalLabel = "Select Colour";\r
     setForDialog("Select Colour", alignframe);\r
     setTargetColour(col1);\r
-    dialog.show();\r
+    dialog.setVisible(true);\r
   }\r
 \r
 \r