Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

landon manning
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Boost this thread!