Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #719

Re: Changing the order of

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Dave Rudolf" <dave.rudolf@THRWHITE.remove-dii-this>
Subject Re: Changing the order of
Message-ID <12qvhn06jfcagc2@corp.supernews.com> (permalink)
X-Comment-To comp.lang.java.gui
Newsgroups comp.lang.java.gui
In-Reply-To <stevewjackson-8DACBD.12572718012007@individual.net>
References <stevewjackson-8DACBD.12572718012007@individual.net>
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 36
Date Wed, 27 Apr 2011 15:29:11 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303918151 96.60.20.240 (Wed, 27 Apr 2011 10:29:11 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:29:11 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:719

Show key headers only | View raw


  To: comp.lang.java.gui
Steve W. Jackson wrote:
> In article <12qvg31maf6j115@corp.supernews.com>,
>  Dave Rudolf <dave.rudolf@usask.ca> wrote:
> 
> 
>>Hey all,
>>
>>Suppose I want to keep a window open (i.e. visible) but I want to 
>>programmatically force it to go to the bottom of the stack, so that all other 
>>windows appear to be ontop of it. Is there any way to do that in Java? The 
>>target platform is Windows XP, in case there are limitations in that system.
>>
>>Thanks.
>>
>>Dave
> 
> 
> java.awt.Window has toFront and toBack methods, which are inherited by 
> Frame and JFrame.  The latter should serve your needs, but you'll want 
> to note that it sends the focused window to the back of all others in 
> the current JVM.  If you're looking for something to send the entire 
> application behind others, that's a different matter -- and I'm not sure 
> if there's a pure Java way to do it.  I do know, however, that using 
> toFront has shown in our case to cause the application in question to 
> come to the front.
> 
> = Steve =


Actually, toFront seems to work globally. Thanks.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar


Thread

Re: Changing the order of "Dave Rudolf" <dave.rudolf@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000

csiph-web