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


Groups > comp.lang.java.programmer > #18330 > unrolled thread

How Can I Get One JFrame To Appear Above Another JFrame

Started byclusardi2k@aol.com
First post2012-08-27 07:47 -0700
Last post2012-08-27 08:00 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  How Can I Get One JFrame To Appear Above Another JFrame clusardi2k@aol.com - 2012-08-27 07:47 -0700
    Re: How Can I Get One JFrame To Appear Above Another JFrame markspace <-@.> - 2012-08-27 08:01 -0700
    Re: How Can I Get One JFrame To Appear Above Another JFrame FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-27 08:00 -0700

#18330 — How Can I Get One JFrame To Appear Above Another JFrame

Fromclusardi2k@aol.com
Date2012-08-27 07:47 -0700
SubjectHow Can I Get One JFrame To Appear Above Another JFrame
Message-ID<47481421-4597-4ac7-9d77-9ac9e197993d@googlegroups.com>
Besides using JDialog and their creation order, is there a way that I can get one JFrame to come up and be above another JFrame.

Thanks,

[toc] | [next] | [standalone]


#18332

Frommarkspace <-@.>
Date2012-08-27 08:01 -0700
Message-ID<k1g24c$7kc$1@dont-email.me>
In reply to#18330
On 8/27/2012 7:47 AM, clusardi2k@aol.com wrote:
> Besides using JDialog and their creation order, is there a way that I
> can get one JFrame to come up and be above another JFrame.


A quick search on Google indicates that requestFocusInWindow() might be 
promising.

<http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html>

[toc] | [prev] | [next] | [standalone]


#18333

FromFredK <fred.l.kleinschmidt@gmail.com>
Date2012-08-27 08:00 -0700
Message-ID<ff44ac8b-a6ee-49ef-b261-a244589e65c0@googlegroups.com>
In reply to#18330
On Monday, August 27, 2012 7:47:31 AM UTC-7, (unknown) wrote:
> Besides using JDialog and their creation order, is there a way that I can get one JFrame to come up and be above another JFrame. Thanks,

myframe.toFront();

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web