Code Cleanup

This commit is contained in:
Konloch 2021-07-14 22:45:56 -07:00
parent b345ee0e74
commit 170512023a
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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())