Switch to side-by-side view
--- a/tool/src/GUI/TreeRenderer.java +++ b/tool/src/GUI/TreeRenderer.java @@ -90,10 +90,15 @@ case home: setIcon(home); break; - - } + // is this icon selected? + if(sel == true){ + if(node.iconWhenSelected != null){ + setIcon(node.iconWhenSelected); + } + + } // write the title of this product setText(node.toString());