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

Print this page

        

@@ -517,11 +517,13 @@
      * Now we override this function do disable F10 explicit
      * processing. All processing is done using KeyEvent.
      */
     public void handleKeyPress(XEvent xev) {
         XKeyEvent xkey = xev.get_xkey();
-        if (log.isLoggable(PlatformLogger.FINE)) log.fine(xkey.toString());
+        if (log.isLoggable(PlatformLogger.FINE)) {
+            log.fine(xkey.toString());
+        }
         if (isEventDisabled(xev)) {
             return;
         }
         final Component currentSource = (Component)getEventSource();
         //This is the only difference from XWindow.handleKeyPress