🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Need help to deiconify a JFrame

#12489
From: tredev
Date: Mon, 14 Dec 1998 00:00
21 lines
1277 bytes
I have a JFrame that is iconified
and I'm trying to deiconify it 

How can I do it ?

Here is what I've tried to deiconify

    this.dispatchEvent(new WindowEvent((Window) this,
WindowEvent.WINDOW_DEICONIFIED));
    this.setVisible(false);
    this.setVisible(true);
    this.repaint();
    this.processEvent(new WindowEvent((Window) this,
WindowEvent.WINDOW_DEICONIFIED));
    this.processWindowEvent(
        new WindowEvent((Window) this, WindowEvent.WINDOW_DEICONIFIED));
    this.toFront();
    this.show();
    this.requestFocus();

If you want my whole sample, send me an email
Technical Details
Message-ID: <36755CD6.197FCEA8@easynet.fr>
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: 111d45,132f9a66931ac66a,start
X-Google-Attributes: gid111d45,public
From: tredev <tre.dev@easynet.fr>
Subject: Need help to deiconify a JFrame
Date: 1998/12/14
Message-ID: <36755CD6.197FCEA8@easynet.fr>
X-Deja-AN: 422206946
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@easynet.fr
X-Trace: buggy.easynet.fr 913661133 57742 195.114.92.61 (14 Dec 1998 18:45:33 GMT)
Organization: none
Mime-Version: 1.0
Reply-To: tre.dev@easynet.fr
NNTP-Posting-Date: 14 Dec 1998 18:45:33 GMT
Newsgroups: borland.public.jbuilder.java.swing