Hello! The attached one-byte patch fixes most of the layout problems which Kaffe used to have with jCVS-4.7.5 and supposedly some other programs. I've just carefully "transponed" the "HORIZONTAL" case and made the diff. Pavel Roskin
Index: libraries/javalib/java/awt/GridBagLayout.java =================================================================== RCS file: /home/cvspublic/kaffe/libraries/javalib/java/awt/GridBagLayout.java,v retrieving revision 1.8 diff -u -r1.8 GridBagLayout.java --- GridBagLayout.java 1999/06/10 19:40:21 1.8 +++ GridBagLayout.java 1999/06/13 21:57:28 @@ -468,7 +468,7 @@ case cc.VERTICAL: cy += in.top + cc.ipady; - cw = dy - (in.top + in.bottom + 2 * cc.ipady); + ch = dy - (in.top + in.bottom + 2 * cc.ipady); switch ( cc.anchor ) { case cc.NORTH: case cc.CENTER: