wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Using JInternalFrame and JDesktop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Using JInternalFrame and JDesktop" Watch "Using JInternalFrame and JDesktop" New topic
Author

Using JInternalFrame and JDesktop

Hiep Nguyen
Ranch Hand

Joined: Oct 26, 2001
Posts: 46
hello!
i using JInternalFrame(IF) displays in a JDesktop, it is ok, but there is an mistake that the first IF is always overlap the next IF, it is right with the Z_Order in swing component. I want the last one is always on the top, but i don't know how to do. i'm watting for your replies.
Thanks !!!
Ashish Mahajan
Ranch Hand

Joined: Feb 19, 2003
Posts: 77
Hi Hiep,
Invoke setLayer(int) on the instance of JInternalFrame that u want to be in front
That should work


The best teams have no specialists, only general contributors with special skills
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using JInternalFrame and JDesktop