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

Print this page

        

@@ -121,11 +121,11 @@
      * addSeparator routines are not used
      * in peers. Shared code invokes addItem("-")
      * for adding separators
      */
     public void addSeparator() {
-        if (log.isLoggable(PlatformLogger.FINER)) {
+        if (log.isLoggable(PlatformLogger.Level.FINER)) {
             log.finer("addSeparator is not implemented");
         }
     }
 
     /*

@@ -341,11 +341,11 @@
      * 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)) {
+        if (log.isLoggable(PlatformLogger.Level.FINE)) {
             log.fine(xkey.toString());
         }
         if (isEventDisabled(xev)) {
             return;
         }