This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[GUI] Patch: javax.swing.JToolTip
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Tue, 8 Jun 2004 22:06:04 +0200
- Subject: [GUI] Patch: javax.swing.JToolTip
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to java-gui-branch to fix JToolTip
a bit. Its far from complete yet.
Michael
2004-06-08 Michael Koch <konqueror@gmx.de>
* javax/swing/JToolTip.java
(JToolTip): No arguments in API.
(setTipText): New method.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAxhwuWSOgCCdjSDsRAoSSAJ0TZ7CFyGga77zfhom+tboLb7l9MwCgnOx+
VRieZ1JNRbX/AgHHgLcqsFk=
=6ymL
-----END PGP SIGNATURE-----
Index: javax/swing/JToolTip.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JToolTip.java,v
retrieving revision 1.2.18.2
diff -u -b -B -r1.2.18.2 JToolTip.java
--- javax/swing/JToolTip.java 8 Jun 2004 08:42:53 -0000 1.2.18.2
+++ javax/swing/JToolTip.java 8 Jun 2004 20:03:32 -0000
@@ -46,9 +46,13 @@
String text;
- JToolTip(String text)
+ public JToolTip()
{
- this.text = text;
+ }
+
+ public void setTipText(String newText)
+ {
+ this.text = newText;
}
}