• Post Reply Bookmark Topic Watch Topic
  • New Topic

Modal Dialog always on top of other Executables  RSS feed

 
vikasids sharma
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
I m using a Modal Dialog to display a message.I want it to be in front of an exe running in application.Itz always in front position against any other java window.
Please let me know how can i make my Dialog Modal positined in front even in case of an executable?
Thanks and Regards
Vikas
 
Donny Nadolny
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there is any way to do that using pure Java. If you're willing to use JNI, check out the API for SetWindowPosition (windows only).
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!