This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
I agree. Here's the link:
subject: Using JInternalFrame and JDesktop
It's not a secret anymore!