• Post Reply Bookmark Topic Watch Topic
  • New Topic

How much Java can you put In an FXML document ?

 
Nikolas Nikolaou
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Sorry If the question Is worded Incorrectly.
Below Is a small javafx prog.




My question Is , can I Just enter the following line:

and place the Stage and Scene commands In the FXML file ?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!