[cp-patches] Re: [cp-pathes] RFC: JMenuItem

Thomas Fitzsimmons fitzsim at redhat.com
Tue Jun 13 16:07:53 UTC 2006


Tania Bento wrote:
> 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  <tbento at redhat.com>
>>
>>         * 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;
>>    }
>>  

OK.

Tom



More information about the Classpath-patches mailing list