this.installIcons
authoramwaterhouse <Andrew Waterhouse>
Mon, 11 Jul 2005 13:06:48 +0000 (13:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 11 Jul 2005 13:06:48 +0000 (13:06 +0000)
src/jalview/io/JalviewFileChooser.java

index 585ed4f..1f44c99 100755 (executable)
@@ -171,13 +171,17 @@ public class JalviewFileChooser
     return ret;\r
   }\r
 \r
+\r
+\r
   /**************************************************************************\r
    * Always create the local UI\r
    * @param comp\r
    *************************************************************************/\r
   public final void setUI(ComponentUI comp)\r
   {\r
-    super.setUI(new UI(this));\r
+    UI ui = new UI(this);\r
+\r
+    super.setUI(ui);\r
   }\r
 \r
   /**************************************************************************\r
@@ -196,6 +200,7 @@ public class JalviewFileChooser
     public UI(JFileChooser e)\r
     {\r
       super(e);\r
+      this.installIcons(e);\r
     }\r
 \r
     /**************************************************************************\r