Component (JTable table, Object value, boolean isSelected, int row, int column) { DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) ((TreeTable) table).getTree().getPathForRow(row).getLastPathComponent(); if (treeNode instanceof SettingsTreeNode) { myCurrentTree = (TreeTable) table; myCurrentNode = (SettingsTreeNode) treeNode; myLabel.setText(myCurrentNode.getValueString()); myCheckBox.setSelected(myCurrentNode.accepted); } return myPanel; }