JavaFX problems with classes and new scenes...

0 Jason Wallace · July 8, 2015
I have 2 java files (main and additional class) - main class is one scene with a button on it.  Click the button, and the new class's scene is displayed (which has another button on it).

I for the life of me cannot figure out how to change the text of the 2nd button once the 2nd button has been clicked.

To make life easier:

Any help would be appreciated.  I'm from a programming background where you create 1 form (stage/scene) in one file - and then any other forms would be in a different file...  This aspect of Java is driving me nuts.

Post a Reply


Oldest  Newest  Rating
0 Jason Wallace · July 8, 2015
So with the help of a friend - I figured out what I did wrong, and the code now works - ignore this!  :)
  • 1

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator