🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GUI-minimize & restore

#7972
From: Michael Rachow
Date: Fri, 17 Nov 2000 00:00
20 lines
1168 bytes
Hi Andy
The main thing is to save the current size of GUI2.
This can be achieved by:
a) Create GUi2 only once (one time new only) and use this instance later
again. Make GUI2 invisible, do not dispose it.
b) Before dsiposing GUI2 save GUI2.getSize() to a 'long enough living
place'.
setSize on GUI2 when newly creating it. Let this not be overridden by
PreferedSize.
Greetings
Michael
"Andy" <ash72598@yahoo.com> schrieb im Newsbeitrag
news:3a1411d9$1_2@dnews...
>
> hello.
>
> let's say, click a button on GUI1, GUI2 displays. Now user minimizes GUI2.
If the user click the same button again on GUI1, how can i restore GUI2
>
> Thanks.
Technical Details
Message-ID: <3a1526ac_2@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3a1411d9$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1eacdc7bb7c9729e
X-Google-Attributes: gid111d45,public
From: "Michael Rachow" <mrachow@BeraCom.de>
Subject: Re: GUI-minimize & restore
Date: 2000/11/17
Message-ID: <3a1526ac_2@dnews>
X-Deja-AN: 694715401
References: <3a1411d9$1_2@dnews>
X-Trace: 17 Nov 2000 04:38:04 -0800, 62.224.109.95
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400