🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: swing dialog appears behind console

#7224
From: John McGrath TeamB
Date: Tue, 03 Jul 2001 22:58
27 lines
1646 bytes
On Thu, 28 Jun 2001 16:10:47 -0600, Calvin R. Smith wrote:

> I have java program that first opens a console then a swing dialog.
> The dialog gets opened behind the console on some computers but not
> on others.  this is my code to show a window:

What operating system?  I think there is a Unix/Linux related bug that 
can cause this.  Check the Sun Bug Parade.

What version of Java are you seeing this on?

> this is my code to show a window:
>     dialog.show();
>     dialog.requestFocus();
>     dialog.toFront();
>     dialog.requestFocus();

How about the code that creates the dialog?

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.15ac05dd6319cb3298a323@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!netnews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b3babb5$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,71a297a299dae178
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-07-03 16:06:41 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: swing dialog appears behind console
Date: Tue, 3 Jul 2001 18:58:57 -0400
Message-ID: <MPG.15ac05dd6319cb3298a323@forums.borland.com>
References: <3b3babb5$1_1@dnews>
X-Newsreader: MicroPlanet Gravity v2.30
NNTP-Posting-Host: 209.92.40.60
X-Trace: dnews 994201137 209.92.40.60 (3 Jul 2001 15:58:57 -0700)
Lines: 27
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!netnews.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews