How can I set the minimum size of a Window/Frame?

Sandip Chitale

Subclass and override -

public Dimension getMinimumSize() {
  return new Dimension(

Note that the native implementation of Frame does not allow minimum size below certain size.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact