I think I have the basics on JavaFX 8 and I think it fits the bill, but I am still looking for a book with more indepth treatment of switching scene-graphs.
Here is what I want to do:
The system has a menu of functions, all in Java 1.8 e.g. "Get list of current orders"; "Do this"; "Do that" etc
Java goes to the cloud database via PHP and download data from mySQL, or do this and that;
I'd like to have a nice UI to display the data in spreadsheet format and graph them;
It seems obvious there must be multiple scenes and I have to switch JavaFX scenes.
Questions pop up in my mind:
Show I stack the scenes?
Show I clear the old scene off the stage and start a new scene?
A good book with examples would go a long way.
I have read Oracle's (good primer) and am reading Pro JavaFX 9 even though I am on 8. None of them have examples and treatment on JavaFX calling Java classes.
Actually, it did cross my mind: who creates whom? But the initial login page where users put in credentials should be captured in JavaFX and passed onto a Java app?
You can only set one scene per stage, but you can hold on to a map of scenes and set them as needed. Here is my GitHub project showing how you might do this. I also have one demonstrating the same thing but using FXML.
Another good book on JavaFX is Learning JavaFX 8 by APress.
All things are lawful, but not all things are profitable.