This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gui] Patch: javax.swing.plaf.basic.BasicToolBarUI
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 09:59:02 +0200
- Subject: [gui] Patch: javax.swing.plaf.basic.BasicToolBarUI
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to fix the constructor of
javax.swing.plaf.basic.BasicToolBarUI.
Michael
2004-08-12 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/basic/BasicToolBarUI.java
(BasicToolBarUI): Fixed arguments for constructor.
(createUI): Fixed creation of object.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBGyNJWSOgCCdjSDsRAud+AJ9MMRiEIi150IUE92B0bVIOdmnzpwCeP8BO
DpeqMUHwmmbvyEZxGcoPKMA=
=E2Ah
-----END PGP SIGNATURE-----
Index: javax/swing/plaf/basic/BasicToolBarUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicToolBarUI.java,v
retrieving revision 1.1.2.8
diff -u -r1.1.2.8 BasicToolBarUI.java
--- javax/swing/plaf/basic/BasicToolBarUI.java 16 Jul 2004 02:29:23 -0000 1.1.2.8
+++ javax/swing/plaf/basic/BasicToolBarUI.java 12 Aug 2004 07:53:49 -0000
@@ -157,10 +157,8 @@
/**
* This method creates a new BasicToolBarUI object for the given JToolBar.
- *
- * @param b The JToolBar to represent with this UI.
*/
- public BasicToolBarUI(JToolBar b)
+ public BasicToolBarUI()
{
super();
}
@@ -353,7 +351,7 @@
*/
public static ComponentUI createUI(JComponent c)
{
- return new BasicToolBarUI((JToolBar) c);
+ return new BasicToolBarUI();
}
/**