From 684e01bb190c7d0b95347b732aeb3cdeda4740d7 Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 18 Oct 2011 17:00:33 +0200 Subject: Module support --- source/com/c2kernel/gui/DynamicTreeBuilder.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/com/c2kernel/gui/DynamicTreeBuilder.java') diff --git a/source/com/c2kernel/gui/DynamicTreeBuilder.java b/source/com/c2kernel/gui/DynamicTreeBuilder.java index a72c156..050a76a 100644 --- a/source/com/c2kernel/gui/DynamicTreeBuilder.java +++ b/source/com/c2kernel/gui/DynamicTreeBuilder.java @@ -25,15 +25,15 @@ import com.c2kernel.utils.Resource; public class DynamicTreeBuilder implements NodeSubscriber { private DefaultTreeModel treeModel; - private DefaultMutableTreeNode parent; + private final DefaultMutableTreeNode parent; public short state = IDLE; public static final short IDLE = 0; public static final short LOADING = 1; public static final short PARTIAL = 2; public static final short FINISHED = 3; - private DefaultMutableTreeNode loading; - private static ImageIcon loadIcon = Resource.getImageResource("loading.gif"); - private static ImageIcon pauseIcon = Resource.getImageResource("reload.gif"); + private final DefaultMutableTreeNode loading; + private static ImageIcon loadIcon = Resource.findImage("loading.gif"); + private static ImageIcon pauseIcon = Resource.findImage("reload.gif"); /** * The newly created DynamicTreeBuilder records its parent node - the one for which it will build child nodes for. -- cgit v1.2.3