Sorry... wrong patch. Here's the right one.
On Tue, 2006-06-13 at 11:52 -0400, Tania Bento wrote:
> Hey,
>
> Changed the horizontal alignment from JButton.LEFT to JButton.LEADING.
> Could someone please approve this and commit it for me. Thanks.
>
> 2006-06-13 Tania Bento <[EMAIL PROTECTED]>
>
> * javax/swing/JMenuItem.java
> (init): Changed horizontalAlignment from JButton.LEFT to
> JButton.LEADING.
>
> Cheers,
> Tania
>
Index: JMenuItem.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/JMenuItem.java,v
retrieving revision 1.31
diff -u -r1.31 JMenuItem.java
--- JMenuItem.java 31 May 2006 12:21:34 -0000 1.31
+++ JMenuItem.java 13 Jun 2006 15:44:45 -0000
@@ -184,7 +184,7 @@
out statement below for now. */
//borderPainted = false;
focusPainted = false;
- horizontalAlignment = JButton.LEFT;
+ horizontalAlignment = JButton.LEADING;
horizontalTextPosition = JButton.TRAILING;
}