bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23527] JMenu with shortcut/accelerator looks bad


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/23527] JMenu with shortcut/accelerator looks bad
Date: 29 Mar 2006 11:58:37 -0000


------- Comment #12 from cvs-commit at developer dot classpath dot org  
2006-03-29 11:58 -------
Subject: Bug 23527

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <address@hidden>        06/03/29
11:58:00

Modified files:
        javax/swing/plaf/basic: BasicMenuItemUI.java 
        .              : ChangeLog 

Log message:
        2006-03-29  Roman Kennke  <address@hidden>

        PR 23527
        * javax/swing/plaf/basic/BasicMenuItemUI.java
        (viewRect): New field.
        (textRect): New field.
        (accelRect): New field.
        (iconRect): New field.
        (arrowIconRect): New field.
        (checkIconRect): New field.
        (BasicMenuItemUI): Initialize new fields.
        (paintMenuItem): Rewritten to correctly layout and paint
        the menu item in a more straightforward way. Use cached rectangle
        objects for layout.
        (paintAccelerator): Pulled inside the paintMenuItem method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicMenuItemUI.java.diff?tr1=1.44&tr2=1.45&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6937&tr2=1.6938&r1=text&r2=text


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23527





reply via email to

[Prev in Thread] Current Thread [Next in Thread]