adding a JInternalFrame to the JDesktopPane

E

Eveline Franken

Hi,

I'm having some trouble with JInternalFrame and JDesktopPane.

When I'm adding a JInternalFrame to the JDesktopPane it appears behind the
JInternalFrame that's already open. How can I show the JInternalFrame above
all other open JInternalFrame(s)?

Thanks,
Eveline
 
M

Maurizio

Eveline Franken said:
Hi,

I'm having some trouble with JInternalFrame and JDesktopPane.

When I'm adding a JInternalFrame to the JDesktopPane it appears behind the
JInternalFrame that's already open. How can I show the JInternalFrame above
all other open JInternalFrame(s)?

Thanks,
Eveline

internalFrame.moveToFront();
to move the internal frame above all other open
internalFrame.moveToBack();
to move the internal frame back above all other open

Try this, i have found it in a book I have never use this

Bye
Maurizio
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top