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

Print this page

        

*** 154,164 **** } } public void handleJavaKeyEvent(KeyEvent event) { super.handleJavaKeyEvent(event); ! if (log.isLoggable(PlatformLogger.FINEST)) log.finer("KeyEvent on scrollbar: " + event); if (!(event.isConsumed()) && event.getID() == KeyEvent.KEY_RELEASED) { switch(event.getKeyCode()) { case KeyEvent.VK_UP: log.finer("Scrolling up"); tsb.notifyValue(tsb.getValue() - tsb.getUnitIncrement()); --- 154,166 ---- } } public void handleJavaKeyEvent(KeyEvent event) { super.handleJavaKeyEvent(event); ! if (log.isLoggable(PlatformLogger.FINEST)) { ! log.finer("KeyEvent on scrollbar: " + event); ! } if (!(event.isConsumed()) && event.getID() == KeyEvent.KEY_RELEASED) { switch(event.getKeyCode()) { case KeyEvent.VK_UP: log.finer("Scrolling up"); tsb.notifyValue(tsb.getValue() - tsb.getUnitIncrement());