Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How Can I Get One JFrame To Appear Above Another JFrame

Reply
Thread Tools

How Can I Get One JFrame To Appear Above Another JFrame

 
 
clusardi2k@aol.com
Guest
Posts: n/a
 
      08-27-2012
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,
 
Reply With Quote
 
 
 
 
FredK
Guest
Posts: n/a
 
      08-27-2012
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();
 
Reply With Quote
 
 
 
 
markspace
Guest
Posts: n/a
 
      08-27-2012
On 8/27/2012 7:47 AM, 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>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
We are currently buying Foundy Networks - primarily NetIron MLX andXMR but are also looking for BigIron RX, ServerIron WMS7, and FastIronFESX's. If you have the above or have access to the above from a clientlooking ro recover value, please sen Network/Software Buyer Cisco 1 07-30-2010 01:25 AM
start a new JFrame from an existing one, and when old JFrame closes new one does not jakester Java 3 04-02-2007 11:13 PM
How can I have an image "float" above another image or other elements with css? jollyroger HTML 6 02-08-2007 12:15 AM
Another topic on "Cannot use a leading .. to exit above the top directory" webonomic ASP .Net 1 01-20-2006 03:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57