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

Print this page

        

@@ -86,11 +86,11 @@
     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)) {
+        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);
         }