Article View: borland.public.jbuilder.java.language
Article #7273Re: swing dialog appears behind console
From: CLG
Date: Fri, 29 Jun 2001 03:12
Date: Fri, 29 Jun 2001 03:12
32 lines
1664 bytes
1664 bytes
Did you pass the Frame into the dialog upon its construction? -- Peace, Carl L. Gilbert lamont_gilbert @ rigidsoftware.com http://www.rigidsoftware.com ICQ 614395-currently stolen working to retrieve. "Then said I, Wisdom [is] better than strength: nevertheless the poor man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16 "Calvin R. Smith" <calvinrsmith@hotmail.com> wrote in message news:3b3babb5$1_1@dnews... > 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:
<3b3bf33f$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<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-06-28 20:26:21 PST From: "CLG" <lamont_gilbert @ rigidsoftware.com> Newsgroups: borland.public.jbuilder.java.language References: <3b3babb5$1_1@dnews> Subject: Re: swing dialog appears behind console Date: Thu, 28 Jun 2001 23:12:55 -0400 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 24.181.226.14 Message-ID: <3b3bf33f$1_2@dnews> X-Trace: dnews 993784639 24.181.226.14 (28 Jun 2001 20:17:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews