212213214215216217218219220221222
public void run() { if (rendererCB.isSelected()) { tree.setCellRenderer(new TestTreeCellRenderer()); } else { tree .setCellRenderer(new SubstanceDefaultTreeCellRenderer()); } } }); } });
441442443444445446447
* * @see javax.swing.plaf.basic.BasicTreeUI#createDefaultCellRenderer() */ @Override protected TreeCellRenderer createDefaultCellRenderer() { return new SubstanceDefaultTreeCellRenderer(); }
488489490491492493494
239240241242243244245246247248249