OVH Cloud OVH Cloud

afficher en 1er plan une JInternalFrame

2 réponses
Avatar
Roberto
bonjour,
j'ai une application qui appelle plusieurs JInternalFrame,
mon problème est d'afficher en 1er plan la JInternalFrame que j'appelle et
ne pas l'avoir derrière celles qui sont déjà à l'écran

merci d'avance

2 réponses

Avatar
DNass
"Roberto" a écrit dans le message de
news:
bonjour,
j'ai une application qui appelle plusieurs JInternalFrame,
mon problème est d'afficher en 1er plan la JInternalFrame que j'appelle et
ne pas l'avoir derrière celles qui sont déjà à l'écran

merci d'avance
voila un petit tutorial

http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

po de koi

----------------------------------------------------------------------------
-------
When you know a thing, to hold that you know it;
and when you do not know a thing,
to allow that you do not know it - this is knowledge.
--Confucius (551 BC - 479 BC), The Confucian Analects

Avatar
julien
DNass wrote:
"Roberto" a écrit dans le message de
news:

bonjour,
j'ai une application qui appelle plusieurs JInternalFrame,
mon problème est d'afficher en 1er plan la JInternalFrame que j'appelle et
ne pas l'avoir derrière celles qui sont déjà à l'écran

merci d'avance


voila un petit tutorial
http://java.sun.com/docs/books/tutorial/uiswing/components/internalframe.html

po de koi



Merci, c'était la methode setMaximum(true) qu'il me fallait.

julien