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:  http://pastebin.com/y1idLzp5

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

Replies

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

106,950 followers
About

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

Links
Moderators
Bucky Roberts Administrator