Can someone please explain the use of getMinimumSize()?

Scott Stanchfield

See my article on layout management, Effective Layout Management. http://developer.java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/index.html

The basic idea is that the components state their preferences through

  • getMinimumSize()
  • getMaximumSize()
  • getPreferredSize()
and that layout managers can ask for these preferences, or completely ignore them.
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact