CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/10/18 18:46:25
Modified files: javax/swing : JScrollPane.java JTree.java javax/swing/plaf/basic: BasicScrollBarUI.java BasicScrollPaneUI.java . : ChangeLog Log message: 2006-10-18 Roman Kennke <[EMAIL PROTECTED]> PR 28769 * javax/swing/JScrollPane.java (viewportBorder): Made field private. (wheelScrollingEnabled): Made field private. (JScrollPane): Enabled wheel scrolling by default. * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged): Don't repaint anything here. (getScrollableUnitIncrement): Fixed thinko. * javax/swing/plaf/basic/BasicScrollBarUI.java (static scrollByBlock): New static method to avoid code duplication for the BasicScrollPane wheel scrolling. (static scrollByUnits): New static method to avoid code duplication for the BasicScrollPane wheel scrolling. (scrollByBlock): Delegate to static helper method. (scrollByUnit): Delegate to static helper method. * javax/swing/plaf/basic/BasicScrollPaneUI.java (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI static helper methods to avoid code duplication. (MouseWheelHandler.bounds): Removed. (MouseWheelHandler.getValue): Removed. (MouseWheelHandler.scroll): Removed. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JScrollPane.java?cvsroot=classpath&r1=1.32&r2=1.33 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JTree.java?cvsroot=classpath&r1=1.76&r2=1.77 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicScrollBarUI.java?cvsroot=classpath&r1=1.39&r2=1.40 http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicScrollPaneUI.java?cvsroot=classpath&r1=1.32&r2=1.33 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8702&r2=1.8703