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

Print this page

        

*** 116,126 **** } abstract protected void rebuildArrows(); public void setSize(int width, int height) { ! if (log.isLoggable(PlatformLogger.FINER)) { log.finer("Setting scroll bar " + this + " size to " + width + "x" + height); } this.width = width; this.height = height; } --- 116,126 ---- } abstract protected void rebuildArrows(); public void setSize(int width, int height) { ! if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Setting scroll bar " + this + " size to " + width + "x" + height); } this.width = width; this.height = height; }
*** 164,174 **** * @param width the width of the scrollbar * @param height the height of the scrollbar * @param paintAll paint the whole scrollbar if true, just the thumb is false */ void paint(Graphics g, Color colors[], boolean paintAll) { ! if (log.isLoggable(PlatformLogger.FINER)) { log.finer("Painting scrollbar " + this); } boolean useBufferedImage = false; Graphics2D g2 = null; --- 164,174 ---- * @param width the width of the scrollbar * @param height the height of the scrollbar * @param paintAll paint the whole scrollbar if true, just the thumb is false */ void paint(Graphics g, Color colors[], boolean paintAll) { ! if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Painting scrollbar " + this); } boolean useBufferedImage = false; Graphics2D g2 = null;
*** 337,347 **** /** * Tell the scroller to start scrolling. */ void startScrolling() { ! if (log.isLoggable(PlatformLogger.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once scroll(); --- 337,347 ---- /** * Tell the scroller to start scrolling. */ void startScrolling() { ! if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once scroll();
*** 359,369 **** /** * Tell the instance scroller to start scrolling. * See 6243382 for more information */ void startScrollingInstance() { ! if (log.isLoggable(PlatformLogger.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once scroll(); --- 359,369 ---- /** * Tell the instance scroller to start scrolling. * See 6243382 for more information */ void startScrollingInstance() { ! if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Start scrolling on " + this); } // Make sure that we scroll at least once scroll();
*** 374,384 **** /** * Tell the instance scroller to stop scrolling. * See 6243382 for more information */ void stopScrollingInstance() { ! if (log.isLoggable(PlatformLogger.FINER)) { log.finer("Stop scrolling on " + this); } i_scroller.stop(); } --- 374,384 ---- /** * Tell the instance scroller to stop scrolling. * See 6243382 for more information */ void stopScrollingInstance() { ! if (log.isLoggable(PlatformLogger.Level.FINER)) { log.finer("Stop scrolling on " + this); } i_scroller.stop(); }
*** 462,472 **** public void handleMouseEvent(int id, int modifiers, int x, int y) { if ((modifiers & InputEvent.BUTTON1_MASK) == 0) { return; } ! if (log.isLoggable(PlatformLogger.FINER)) { String type; switch (id) { case MouseEvent.MOUSE_PRESSED: type = "press"; break; --- 462,472 ---- public void handleMouseEvent(int id, int modifiers, int x, int y) { if ((modifiers & InputEvent.BUTTON1_MASK) == 0) { return; } ! if (log.isLoggable(PlatformLogger.Level.FINER)) { String type; switch (id) { case MouseEvent.MOUSE_PRESSED: type = "press"; break;