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: 30 Mar 2006 19:17:48 -0000


------- Comment #17 from cvs-commit at developer dot classpath dot org  
2006-03-30 19:17 -------
Subject: Bug 23527

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Mark Wielaard <address@hidden>   06/03/30 18:58:56

Modified files:
        .              : ChangeLog 
        java/awt       : Window.java 
        gnu/java/awt/peer/gtk: GtkFramePeer.java GtkWindowPeer.java 

Log message:
        PR 23527
        * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
        adjust bounds. On resize invalidate and validate container.
        Always pass on ComponentEvents to Container super class.
        * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
        menuBar and pass to GtkWindowPeer super class.
        (postConfigureEvent): Adjust menu bar width. Adjust y and height
        bounds and pass to GtkWindowPeer super class.
        * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
        New fields for local bounds.
        (getX, getY): New methods.
        (getWidth): Don't call into awtComponent.
        (getHeight): Likewise.
        (create): Cache local bounds.
        (setLocation): Documented, made protected and just call
        nativeSetLocation.
        (setLocationUnlocked): Removed unused method.
        (setBoundsUnlocked): Likewise.
        (setBounds): Check whether bounds actually changed and cache local
        bounds.
        (setSize): Documented and made protected.
        (setResizable): Documented and cache local bounds.
        (postConfigureEvent): Update local bounds. Don't call awtComponent
        directly but post ComponentEvents.
        (show): Cache local bounds.
        (getBounds): Override to return cached bounds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6951&tr2=1.6952&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/awt/Window.java.diff?tr1=1.67&tr2=1.68&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GtkFramePeer.java.diff?tr1=1.45&tr2=1.46&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/gnu/java/awt/peer/gtk/GtkWindowPeer.java.diff?tr1=1.47&tr2=1.48&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]