void (Border border) { if (myTreeView != null) ((JComponent)myTreeView.getParent().getParent()).setBorder(border); if (myFlatView != null) ((JComponent)myFlatView.getParent().getParent()).setBorder(border); }