CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Mark Wielaard <[EMAIL PROTECTED]>       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


Reply via email to