[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: small fixes for swing
Kaffe CVS
cvs-commits at kaffe.org
Sat Oct 9 05:38:59 PDT 2004
PatchSet 5258
Date: 2004/10/09 11:40:39
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: small fixes for swing
2004-10-09 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/javax/swing/JScrollBar.java,
libraries/javalib/javax/swing/JScrollPane.java,
libraries/javalib/javax/swing/JTree.java:
Resynced with GNU Classpath.
2004-10-08 Paul Jenner <psj.home at ntlworld.com>
* javax/swing/JTree.java
(isRootVisible): Fixed typo in method name.
* javax/swing/JScrollBar.java
(setValues): Likewise.
* javax/swing/JScrollPane.java
(createScrollListener): Call JScrollBar.setValues.
Members:
ChangeLog:1.2812->1.2813
libraries/javalib/javax/swing/JScrollBar.java:1.1->1.2
libraries/javalib/javax/swing/JScrollPane.java:1.5->1.6
libraries/javalib/javax/swing/JTree.java:1.3->1.4
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2812 kaffe/ChangeLog:1.2813
--- kaffe/ChangeLog:1.2812 Sat Oct 9 10:34:33 2004
+++ kaffe/ChangeLog Sat Oct 9 11:40:39 2004
@@ -1,5 +1,21 @@
2004-10-09 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/javax/swing/JScrollBar.java,
+ libraries/javalib/javax/swing/JScrollPane.java,
+ libraries/javalib/javax/swing/JTree.java:
+ Resynced with GNU Classpath.
+
+ 2004-10-08 Paul Jenner <psj.home at ntlworld.com>
+
+ * javax/swing/JTree.java
+ (isRootVisible): Fixed typo in method name.
+ * javax/swing/JScrollBar.java
+ (setValues): Likewise.
+ * javax/swing/JScrollPane.java
+ (createScrollListener): Call JScrollBar.setValues.
+
+2004-10-09 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/java/awt/image/BufferedImageFilter.java:
New file from GNU Classpath.
Index: kaffe/libraries/javalib/javax/swing/JScrollBar.java
diff -u kaffe/libraries/javalib/javax/swing/JScrollBar.java:1.1 kaffe/libraries/javalib/javax/swing/JScrollBar.java:1.2
--- kaffe/libraries/javalib/javax/swing/JScrollBar.java:1.1 Thu Jul 22 19:37:21 2004
+++ kaffe/libraries/javalib/javax/swing/JScrollBar.java Sat Oct 9 11:40:41 2004
@@ -542,7 +542,7 @@
* @param newMin The new minimum.
* @param newMax The new maximum.
*/
- public void setValue(int newValue, int newExtent, int newMin, int newMax)
+ public void setValues(int newValue, int newExtent, int newMin, int newMax)
{
if (!isEnabled())
newValue = model.getValue();
Index: kaffe/libraries/javalib/javax/swing/JScrollPane.java
diff -u kaffe/libraries/javalib/javax/swing/JScrollPane.java:1.5 kaffe/libraries/javalib/javax/swing/JScrollPane.java:1.6
--- kaffe/libraries/javalib/javax/swing/JScrollPane.java:1.5 Tue Sep 28 22:45:30 2004
+++ kaffe/libraries/javalib/javax/swing/JScrollPane.java Sat Oct 9 11:40:41 2004
@@ -497,14 +497,14 @@
|| vsb.getMaximum() != vs.height
|| vsb.getValue() != vr.y
|| vsb.getVisibleAmount() != vr.height))
- vsb.setValue(vr.y, vr.height, 0, vs.height);
+ vsb.setValues(vr.y, vr.height, 0, vs.height);
if (hsb != null
&& (hsb.getMinimum() != 0
|| hsb.getMaximum() != vs.width
|| hsb.getValue() != vr.width
|| hsb.getVisibleAmount() != vr.height))
- hsb.setValue(vr.x, vr.width, 0, vs.width);
+ hsb.setValues(vr.x, vr.width, 0, vs.width);
}
else
{
Index: kaffe/libraries/javalib/javax/swing/JTree.java
diff -u kaffe/libraries/javalib/javax/swing/JTree.java:1.3 kaffe/libraries/javalib/javax/swing/JTree.java:1.4
--- kaffe/libraries/javalib/javax/swing/JTree.java:1.3 Tue Sep 28 22:45:30 2004
+++ kaffe/libraries/javalib/javax/swing/JTree.java Sat Oct 9 11:40:41 2004
@@ -468,7 +468,7 @@
* @return <code>true</code> if the root element is visible,
* <code>false</code> otherwise
*/
- public boolean isRootVisbile()
+ public boolean isRootVisible()
{
return rootVisible;
}
More information about the kaffe
mailing list