🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1121

Re: Maximize jframe/jdialog

#1121
From: John McGrath [TeamB]
Date: Thu, 08 Apr 2004 19:26
20 lines
1444 bytes
On 4/5/2004 at 9:20:09 AM, Aurelio Balgera wrote:

> there is a way to maximize Jframe or jdialog at the class startup ?

You can maximize a frame with:  

   frame.setExtendedState( Frame.MAXIMIZED_BOTH );

Dialogs cannot be maximized.

It is not clear to me what you mean by "class startup".

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <4075995e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <40715c65@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b8e5edd3f7ca4215
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-04-08 11:35:21 PST
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Maximize jframe/jdialog
Newsgroups: borland.public.jbuilder.java.swing
References: <40715c65@newsgroups.borland.com>
User-Agent: XanaNews/1.16.2.2
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 151.197.30.87
Message-ID: <4075995e@newsgroups.borland.com>
Date: 8 Apr 2004 11:26:38 -0800
X-Trace: newsgroups.borland.com 1081448798 151.197.30.87 (8 Apr 2004 11:26:38 -0800)
Lines: 20
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail