• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javaw process remaining

 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

I've made a javafx application, when I close it by going to the taskbar, clicking on the java thing for it, and pressing close window....
The javaw.exe still remains in the TaskManager processes.

Is there a proper way to shutdown the program so the javaw.exe doesn't show in processes?

Thanks for any help
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version are you using? Since JavaFX 2.2, there is the Platform.setImplicitExit() method which allows to specify the application should exit when the last window closes (defaults to true).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic