From 49784d5962a118449781dbc0193a5cea95215e53 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 11 Jul 2005 13:06:48 +0000 Subject: [PATCH] this.installIcons --- src/jalview/io/JalviewFileChooser.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); } /************************************************************************** -- 1.7.10.2