private static void validateIfNeeded(final JComponent c, final Rectangle rect) { if (!Splitter.isNull(c)) { if (!c.getBounds().equals(rect)) { c.setBounds(rect); c.revalidate(); } } else { Splitter.hideNull(c); } }
private boolean lastVisible() { return !Splitter.isNull(myLastComponent) && myLastComponent.isVisible(); }
private boolean innerVisible() { return !Splitter.isNull(myInnerComponent) && myInnerComponent.isVisible(); }