title: Get Application class from event
body: <p><br>
  I'm building app with JavaFX 2.x. Main method is in class <b>Frame</b>, which extends JavaFX Application. Controller binded from FXML template has event (button click), which is classof <b>ActionEvent</b>.<br>
  <br>
  My question is, how is all of that linked? I wanna get applicaiton instance (<b>Frame</b>) from event.<br>
  <br>
  I've some dirty and ugly solution (static function to set/get app instance).... is there cleaner way?
  <br><br>
  Thanks</p>
  
  <p>P.S. <i>I know, how to get scene, stage (window?), but don know, "where" is instance of application (place, where is main());</i><br>
  P.P.S <i>I'm n00bee in JavaFX technology</i></p>