Article View: borland.public.jbuilder.java.language
Article #17619Re: Difference between getSize and getPreferredSize
From: Tad Frysinger
Date: Tue, 27 Oct 1998 00:00
Date: Tue, 27 Oct 1998 00:00
14 lines
914 bytes
914 bytes
In article <36364A15.554D7FBB@home.com>, michaelmn@home.com says... > How is PreferredSize set and When is it used rather than just size ? > Thanks for the info. > > Michael, > > The data returned by getPreferredSize is typically set within the class itself by the creator of the class. It is typically called by any class that needs to know the "default" size the component should be - such as a layout manager. Tad Frysinger [TeamB]
Technical Details
Message-ID:
<MPG.109ffe735629d58698994e@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36364A15.554D7FBB@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2dfe09b1656ac23 X-Google-Attributes: gidf74b3,public From: tfrysinger@uswest.net (Tad Frysinger) Subject: Re: Difference between getSize and getPreferredSize Date: 1998/10/27 Message-ID: <MPG.109ffe735629d58698994e@forums.borland.com> X-Deja-AN: 405723944 References: <36364A15.554D7FBB@home.com> Organization: FreeZone Enterprises Newsgroups: borland.public.jbuilder.java.language