Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a java window appear in front of other Windows applications

 
landon manning
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem:
A user executes a (c++) program that calls my java program which displays a JFrame for user interaction. Since the java program only gets executed after a serveral tasks are completed by the c++ program, the user may alt+tab to other applications. When the c++ calls my java program, the window that it displays is hidden behind some other application window.
How do I make my java window (currently a JFrame) appear in front of any other applications that are running?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic