File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • 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
  • 0
  • 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?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic