Article View: borland.public.jbuilder.java.language
Article #7266swing dialog appears behind console
From: Calvin R. Smith
Date: Thu, 28 Jun 2001 22:10
Date: Thu, 28 Jun 2001 22:10
14 lines
1196 bytes
1196 bytes
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:
dialog.show();
dialog.requestFocus();
dialog.toFront();
dialog.requestFocus();
but yet it still opens behind the console
ideas?
Calvin
Technical Details
Message-ID:
<3b3babb5$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,71a297a299dae178,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-28 15:12:50 PST From: "Calvin R. Smith" <calvinrsmith@hotmail.com> Newsgroups: borland.public.jbuilder.java.language Subject: swing dialog appears behind console Date: Thu, 28 Jun 2001 16:10:47 -0600 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 207.201.104.102 Message-ID: <3b3babb5$1_1@dnews> X-Trace: dnews 993766325 207.201.104.102 (28 Jun 2001 15:12:05 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews