• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic