This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: javax.swing
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Sun, 6 Jun 2004 14:59:24 +0200
- Subject: Patch: javax.swing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
This time I commited this to java-gui-branch for real.
Michael
2004-06-06 Michael Koch <konqueror@gmx.de>
* javax/swing/SwingConstants.java
(NEXT): New constant.
(PREVIOUS): Likewise.
* javax/swing/UIManager.java
(LookAndFeel): Made public.
(LookAndFeel.getClassName): Likewise.
(LookAndFeel.getName): Likewise.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAwxUvWSOgCCdjSDsRAvUxAJ4k4NIPsN2vNTAEQdlHjA8yLB9kvQCgiXNF
YVwQ22SJGQcX8Fejgrte9kc=
=AjiW
-----END PGP SIGNATURE-----
Index: javax/swing/SwingConstants.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/SwingConstants.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 SwingConstants.java
--- javax/swing/SwingConstants.java 12 Oct 2003 13:20:49 -0000 1.3
+++ javax/swing/SwingConstants.java 6 Jun 2004 12:56:43 -0000
@@ -60,5 +60,15 @@
int LEADING = 10;
int TRAILING = 11;
+
+ /**
+ * @since 1.4
+ */
+ int NEXT = 12;
+
+ /**
+ * @since 1.4
+ */
+ int PREVIOUS = 13;
}
Index: javax/swing/UIManager.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/UIManager.java,v
retrieving revision 1.6.8.1
diff -u -b -B -r1.6.8.1 UIManager.java
--- javax/swing/UIManager.java 21 May 2004 23:34:14 -0000 1.6.8.1
+++ javax/swing/UIManager.java 6 Jun 2004 12:56:43 -0000
@@ -54,15 +54,22 @@
{
String name, clazz;
- LookAndFeelInfo(String name,
+ public LookAndFeelInfo(String name,
String clazz)
{
this.name = name;
this.clazz = clazz;
}
- String getName() { return name; }
- String getClassName() { return clazz; }
+ public String getName()
+ {
+ return name;
+ }
+
+ public String getClassName()
+ {
+ return clazz;
+ }
}
private static final long serialVersionUID = -5547433830339189365L;