From: amwaterhouse Date: Mon, 11 Jul 2005 13:06:48 +0000 (+0000) Subject: this.installIcons X-Git-Tag: Release_2_01~15 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=49784d5962a118449781dbc0193a5cea95215e53;p=jalview.git this.installIcons --- diff --git a/src/jalview/io/JalviewFileChooser.java b/src/jalview/io/JalviewFileChooser.java index 585ed4f..1f44c99 100755 --- a/src/jalview/io/JalviewFileChooser.java +++ b/src/jalview/io/JalviewFileChooser.java @@ -171,13 +171,17 @@ public class JalviewFileChooser return ret; } + + /************************************************************************** * Always create the local UI * @param comp *************************************************************************/ public final void setUI(ComponentUI comp) { - super.setUI(new UI(this)); + UI ui = new UI(this); + + super.setUI(ui); } /************************************************************************** @@ -196,6 +200,7 @@ public class JalviewFileChooser public UI(JFileChooser e) { super(e); + this.installIcons(e); } /**************************************************************************