🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Iconize/Resize/Close JFrame?

#16317
From: Moon-Jeong, Choi
Date: Wed, 10 Mar 1999 00:00
17 lines
1031 bytes
Hi!

I want to activate only Iconize('-') and Close('x') buttons in a Jframe,
with a resizable button inactivated.
If I use 'frame.setResizable(false)' method in Jframe, it is appeared only a
'x' button.
Then, how can I activate Iconize('-') button in the frame?

Another Question: When I click a Close button in the Jframe, I want to popup
a dialog
box before the frame is automatically exited by the close button.
How can I do that?

Last Question: How can I resize a frame including inner components?
(i.e., button, panel, etc. in the frame)

Thanks a lot in advance.
Technical Details
Message-ID: <7c4lla$i2d2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b648668d8364ad6a,start
X-Google-Attributes: gidf74b3,public
From: "Moon-Jeong, Choi" <mjchoi@star.dwt.co.kr>
Subject: Iconize/Resize/Close JFrame?
Date: 1999/03/10
Message-ID: <7c4lla$i2d2@forums.borland.com>
X-Deja-AN: 453226252
Organization: Daewoo Telecom LTD.
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language