🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

RE: new component

#7752
From: John McGrath TeamB
Date: Tue, 22 May 2001 22:05
18 lines
1396 bytes
On Tue, 22 May 2001 11:59:52 -0300, facundo wrote:

> Now I was able to show my new button at run time.
> But I did It writing:   this.pack();
> Is this rigth?

If that is what you want to do.  The pack() method is rather similar to 
validate(), except that pack will size the frame based on the sizes of 
the contents, whereas validate will use the size of the frame.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.1574a214f95b8adb98a212@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!dnews
References: <3b054d39_1@dnews> <3b0a7e6c_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,731295f9facb01cf
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-22 15:14:08 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: RE: new component
Date: Tue, 22 May 2001 18:05:40 -0400
Message-ID: <MPG.1574a214f95b8adb98a212@forums.borland.com>
References: <3b054d39_1@dnews> <3b0a7e6c_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 990569139 209.92.40.60 (22 May 2001 15:05:39 -0700)
Lines: 18
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.gwi-ag.com!dnews