gcc/libjava ChangeLog java/awt/Container.java ...
kho@gcc.gnu.org
kho@gcc.gnu.org
Tue Mar 9 16:38:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: java-gui-branch
Changes by: kho@gcc.gnu.org 2004-03-09 16:38:14
Modified files:
libjava : ChangeLog
libjava/java/awt: Container.java
libjava/javax/swing/plaf/basic: BasicScrollBarUI.java
BasicSliderUI.java
libjava/javax/swing: JProgressBar.java JSeparator.java
Log message:
2004-03-09? Kim Ho <kho@redhat.com>
* java/awt/Container.java: (visitChild): Move
the x and y coordinate of the component rectangle
to correct position.
(handleEvent): Forward drag events to the pressed
component.
* javax/swing/plaf/basic/BasicScrollBarUI.java:
Fix comments.
(ArrowButtonListener::mousePressed): Stop the
existing timer.
(mouseDragged): Implement.
(TrackListener::mousePressed): Only react if
the press doesn't occur on the thumb, otherwise
just set the offset.
(TrackListener::mouseReleased): Unset the isAdjusting
value.
(createIncreaseIcon): Switch icon.
(createDecreaseIcon): Switch icon.
(calculatePreferredSize): Use width.
(getThumbBounds): Use the top as the lower value.
(layoutVScrollBar): Switch the button locations.
(paintIncreaseHighlight): Paint correct side of thumb.
(paintDecreaseHighlight): ditto.
(valueForYPosition): Use top as the lower value.
* javax/swing/plaf/basic/BasicSliderUI.java:
Fix comments.
(mouseDragged): Implement.
(mousePressed): Only react when the thumb isn't
pressed, otherwise just set offset.
(mouseReleased): Handle a release of the thumb.
(scrollDueToClickInTrack): Stop the timer first.
* javax/swing/JProgressBar.java:
(setString): Fix change condition.
* javax/swing/JSeparator.java:
Remove println's.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.2660.2.37&r2=1.2660.2.38
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/awt/Container.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.34.2.3&r2=1.34.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicScrollBarUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/plaf/basic/BasicSliderUI.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JProgressBar.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.2&r2=1.3.8.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/javax/swing/JSeparator.java.diff?cvsroot=gcc&only_with_tag=java-gui-branch&r1=1.3.8.1&r2=1.3.8.2
More information about the Gcc-cvs
mailing list