src/solaris/classes/sun/awt/X11/XTextFieldPeer.java

Print this page

        

@@ -256,11 +256,13 @@
     void repaintText() {
         xtext.repaintNow();
     }
 
     public void setBackground(Color c) {
-        if (log.isLoggable(PlatformLogger.FINE)) log.fine("target="+ target + ", old=" + background + ", new=" + c);
+        if (log.isLoggable(PlatformLogger.FINE)) {
+            log.fine("target="+ target + ", old=" + background + ", new=" + c);
+        }
         background = c;
         if (xtext != null) {
             xtext.setBackground(c);
             xtext.setSelectedTextColor(c);
         }