src/share/classes/sun/awt/SunGraphicsCallback.java

Print this page

        

*** 86,96 **** public final void runComponents(Component[] comps, Graphics g, int weightFlags) { int ncomponents = comps.length; Shape clip = g.getClip(); ! if (log.isLoggable(PlatformLogger.FINER) && (clip != null)) { Rectangle newrect = clip.getBounds(); log.finer("x = " + newrect.x + ", y = " + newrect.y + ", width = " + newrect.width + ", height = " + newrect.height); } --- 86,96 ---- public final void runComponents(Component[] comps, Graphics g, int weightFlags) { int ncomponents = comps.length; Shape clip = g.getClip(); ! if (log.isLoggable(PlatformLogger.Level.FINER) && (clip != null)) { Rectangle newrect = clip.getBounds(); log.finer("x = " + newrect.x + ", y = " + newrect.y + ", width = " + newrect.width + ", height = " + newrect.height); }