FYI: Import recent Classpath awt work

Mark Wielaard mark@klomp.org
Fri Jul 25 12:47:00 GMT 2003


Hi,

This imports the recent Classpath AWT work by Michael Koch and Jeroen
Frijters. This is needed to compile/run the open-wonka visualtests (see
Classpath mailinglist).

2003-07-25  Mark Wielaard  <mark@klomp.org>

       * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
       added.
       * Makefile.in: Likewise.

2003-07-25  Jeroen Frijters  <jeroen@frijters.net>

       * java/awt/Component.java
       (getPreferredSize): Call preferredSize.
       (preferredSize): Moved body of getPreferredSize here.
       (getMinimumSize): Call minimumSize.
       (minimumSize): Moved body of getMinimumSize here.
       (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
       (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
       pass -1
       * java/awt/Container.java
       (validate): Don't validate if there is no peer.
       (update): Clear background before calling paint.
       * java/awt/GridBagLayout.java
       Completed the implementation and fixed several bugs.
       * java/awt/MediaTracker.java
       (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
       combine flags.
       * java/awt/Window.java
       (Window): Don't call setVisible(false). Windows are invisible by
       default and calling virtual methods from constructor causes
       compatibility problems (e.g. subclasses may assume that the peer
       already exists).

2003-07-25  Michael Koch  <konqueror@gmx.de>

       * java/awt/GridBagLayout.java:
       Totally reworked and partly implemented.
       * java/awt/GridBagLayoutInfo.java:
       New file.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: awt-classpath.diff
Type: text/x-patch
Size: 26626 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030725/ded58884/attachment.bin>


More information about the Java-patches mailing list