• Post Reply Bookmark Topic Watch Topic
  • New Topic

Automatically close an javafx/fxml window via the controller class.

 
Nikolas Nikolaou
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have a button on the main window that creates a new window where you can update a customer record. The second window opens using a different controller class and fxml file.
I would like for the window to close automatically after clicking the update button but I can't find a way to do this via the controller class.
 
rubbery bacon. rubbery tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!