🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17619

Re: Difference between getSize and getPreferredSize

#17619
From: Tad Frysinger
Date: Tue, 27 Oct 1998 00:00
14 lines
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-mail
References: <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