TreePath tp = tree.getPathForRow(row); Node node = UnitManager.getInstance().getNode(buildKey(tp)); if (node instanceof UnitNode) { UnitNode unit = (UnitNode) node; Logger logger = unit.getLogger(); if (logger != null) {
        public Component getTableCellRendererComponent (JTable table,                                                        Object value,                                                        boolean isSelected,                                                        boolean hasFocus,                                                        int row,                                                        int column)        {            super.getTableCellRendererComponent(table, value, isSelected,                                                hasFocus, row, column);            // Display the proper tip text            TreePath tp = tree.getPathForRow(row);            Node node = UnitManager.getInstance().getNode(buildKey(tp));            if (node instanceof UnitNode) {                UnitNode unit = (UnitNode) node;                Logger logger = unit.getLogger();                if (logger != null) {//                     Logger.Level level = (Logger.Level) logger.getLevel();//                     if (level != null) {//                         setFont(table.getFont().deriveFont(Font.BOLD).deriveFont(12.0f));//                     }                }            }            return this;        }