• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using JInternalFrame and JDesktop

 
Hiep Nguyen
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hiep,
Invoke setLayer(int) on the instance of JInternalFrame that u want to be in front
That should work
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic