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 JInternalFrame 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 "JInternalFrame" Watch "JInternalFrame" New topic


kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
i am facing a peculiar problem
i am working on a application that needs Inernal frames
i have a desktop pane and i am adding the internal frames to it after creation
but the one newly created is appearing beside the existing ones the previous one is staying on top
i tried with moveToTop also but no effect
some one find the sollution

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

Try the toFront() method. Usually works, although I have found that it is picky in the way that you create your internal frame when using the method.
If it doesn't work, let me see how you are creating your internal frames and I will help you.

Happy Coding,
Gregg Bolinger

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: JInternalFrame
Similar Threads
navigation between frames
Help needed in facelets
I ma Getting Javascript Error Permission denied.
MVC pattern again - with one class per view
Internal Frames