Each getMinimumSize
and getPreferredSize
method returns a
Dimension
instance, produced by a call to the
Dimension
class's constructor with width and height arguments:
Height --* Width --* | v v public Dimension getMinimumSize() {return new Dimension(150, 150);}