src/solaris/classes/sun/awt/X11/XContentWindow.java
Print this page
@@ -113,12 +113,14 @@
Rectangle newBounds = dims.getBounds();
Insets in = dims.getInsets();
if (in != null) {
newBounds.setLocation(-in.left, -in.top);
}
- if (insLog.isLoggable(PlatformLogger.FINE)) insLog.fine("Setting content bounds {0}, old bounds {1}",
+ if (insLog.isLoggable(PlatformLogger.FINE)) {
+ insLog.fine("Setting content bounds {0}, old bounds {1}",
newBounds, getBounds());
+ }
// Fix for 5023533:
// Change in the size of the content window means, well, change of the size
// Change in the location of the content window means change in insets
boolean needHandleResize = !(newBounds.equals(getBounds()));
reshape(newBounds);