This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Using JInternalFrame and JDesktop" Watch "Using JInternalFrame and JDesktop" New topic

Using JInternalFrame and JDesktop

Hiep Nguyen
Ranch Hand

Joined: Oct 26, 2001
Posts: 46
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
wood burning stoves
subject: Using JInternalFrame and JDesktop
Similar Threads
MouseEvent handling.
Multiple JFrames in 1 Container
Do we have a JStatusBar in java?
scattered JInternalFrame icons over JDesktop
Windows opened from menu items move down and to the right