aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame" Watch "JInternalFrame" New topic
Author

JInternalFrame

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
hai
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
bye

<BR>
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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: http://aspose.com/file-tools
 
subject: JInternalFrame