Color (@NotNull JTree tree) { JTable table = getTableFor(tree); if (table != null) return getBackground(table); // tree table Color background = tree.getBackground(); return background != null ? background : CurrentTheme.Tree.BACKGROUND; }