Article View: borland.public.jbuilder.java.api
Article #3118How to iconify a window?
From: NR Bessmer
Date: Wed, 13 May 1998 00:00
Date: Wed, 13 May 1998 00:00
13 lines
820 bytes
820 bytes
I want a 'Close' button in my window to iconify this window when
clicked.
I expected that the following code will do it, but nothing happens...
Any help
appreciated.
Thanks!
...
void ButtonClose_actionPerformed(ActionEvent e) {
WindowEvent we = new WindowEvent (this, Event.WINDOW_ICONIFY);
dispatchEvent(we);
}
Technical Details
Message-ID:
<3559FEF2.7699BA4E@bosx.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,ece5492e7e979c93,start X-Google-Attributes: gid1089d0,public From: NR Bessmer <nbessmer@bosx.com> Subject: How to iconify a window? Date: 1998/05/13 Message-ID: <3559FEF2.7699BA4E@bosx.com> X-Deja-AN: 352976769 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api