Bad button minimum size?

Marko Rauhamaa marko at
Wed Aug 19 01:48:39 PDT 1998

I'm running kaffe 1.0-b1 under Red Hat 4.2. java.awt.Button seems to
report a bad minimum size. Here's a simple test application:

    import java.awt.*;
    public class Test extends Frame {
      public static void main(String[] args) {
	Button b = new Button("Button");

It produces this output:

    java.awt.Dimension [50,50]
    java.awt.Dimension [53,26]

That is, the minimum height is 50 while the preferred height is 26.


Marko Rauhamaa   mailto:marko.rauhamaa at
Suomenkielinen esperantokurssi
    Free Esperanto Course

More information about the kaffe mailing list