Meaningless Drivel is fun!
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
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!