• Post Reply Bookmark Topic Watch Topic
  • New Topic

Focusing frames..  RSS feed

 
Anas El-Abboud
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all friends..
would you like to help me please..
i want to make a JFrame "always on top" in whole applications , i mean a program when i apply it we can't active any another window !
how can i do this in java , suppose i use :
<JFrame>
ClassName application=new ClassName() ;
application.???(JFrame.???);
or how !!!

please friends , thanks
Anas
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Swing / AWT / SWT / JFace forum...
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Anas El-Abboud

I would suggest you to make a JDialog rather than JFrame.

Here is sample example for you.

Hope this would help you out.


 
Anas El-Abboud
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks freinds for help..
thank you Anand for helping me ,
and sorry about the categury..

thanks..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!