boolean (GraphicsConfiguration configuration) { boolean updated = false; Rectangle outer = minimize(configuration.getBounds()); if (!myOuterBounds.equals(outer)) { myOuterBounds.setBounds(outer); updated = true; } Rectangle inner = minimize(ScreenUtil.getScreenRectangle(configuration)); if (!myInnerBounds.equals(inner)) { myInnerBounds.setBounds(inner); updated = true; } return updated; }