Code Cleanup
This commit is contained in:
parent
b345ee0e74
commit
170512023a
2 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,8 @@ import java.util.ArrayList;
|
|||
* @author http://stackoverflow.com/questions/14968005
|
||||
* @author Konloch
|
||||
*/
|
||||
public class ImageRenderer extends DefaultTreeCellRenderer
|
||||
|
||||
public class ResourceListIconRenderer extends DefaultTreeCellRenderer
|
||||
{
|
||||
//called every time there is a pane update
|
||||
@Override
|
|
@ -161,7 +161,7 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
|
|||
ResourceTreeNode root = new ResourceTreeNode(container.name);
|
||||
treeRoot.add(root);
|
||||
|
||||
ImageRenderer renderer = new ImageRenderer();
|
||||
ResourceListIconRenderer renderer = new ResourceListIconRenderer();
|
||||
tree.setCellRenderer(renderer);
|
||||
|
||||
if (!container.resourceClasses.isEmpty())
|
||||
|
|
Loading…
Reference in a new issue