0

i'm working with JavaFX and the gui definition is written in .fxml-Files.

Is it possible to access Beans in the ApplicationContext from the .fxml file? Like EJB-JSF Binding?

thank you in advance

Anshul Parashar
  • 3,096
  • 4
  • 30
  • 56
  • try this http://stackoverflow.com/questions/13227809/displaying-changing-values-in-javafx-label – Anshul Parashar Nov 20 '13 at 04:10
  • Thanks for the reply - know the binding mechanismus of javafx but is there a more comfortable way like: Bean in Application Context On FXML: text=$(.) That would be awesome - couldn't find anything – user2450489 Nov 20 '13 at 07:11
  • this the way which define by javafx...other wisw you can use events like this stackoverflow.com/questions/19773792/change-label-javafx-on-keyboard-input – Anshul Parashar Nov 20 '13 at 07:15
  • Thank you for your Reply ! Don't like that way so much, but it seems that i have to do it :). Thank you ! – user2450489 Nov 20 '13 at 08:42

0 Answers0