getMinimumSize bug

Marko Rauhamaa marko at
Wed Aug 19 23:28:15 PDT 1998

I reported yesterday that new Button().getMinimumSize() is [50,50]
regardless of the preferred size. I found the immediate reason: defines:

    public Dimension getMinimumSize() {
	return new Dimension( 50, 50);

and that definition is not overridden by

Is this how it is supposed to work? Don't the layout managers need this
information when space is scarce?


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

More information about the kaffe mailing list