• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Still Looking for a more in-depth JavaFX Book  RSS feed

 
Ranch Hand
Posts: 131
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Marshal
Posts: 5986
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
AhFai Chan
Ranch Hand
Posts: 131
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Knute Snortum

OK, understood, once scene per class except helper classes, that's busy work for a couple of weeks. I hope JavaFX is going to stick around a while, Oracle willing.

I have an important question: I notice you have your codes copyright-protected. Did you use a lawyer? What's the process? Where do I start?
 
Knute Snortum
Marshal
Posts: 5986
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

AhFai Chan wrote: I hope JavaFX is going to stick around a while, Oracle willing.


At this point it has nothing to do with Oracle and everything to do with the Open Software community.  Or maybe I'd say, Gluon willing.

I have an important question: I notice you have your codes copyright-protected. Did you use a lawyer? What's the process? Where do I start?


This gives me a great opportunity to plug one of my favorite organizations: Creative Commons at https://creativecommons.org/share-your-work/. They make open licencing easy.
 
AhFai Chan
Ranch Hand
Posts: 131
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
opps

The trick with injecting a stage is really cool.

If you should write an indepth book on JavaFX
 
Knute Snortum
Marshal
Posts: 5986
155
Chrome Eclipse IDE Java Postgres Database Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There already is one (at least): Learn JavaFX 8, by Apress.  And really, there are lots of people more knowledgeable than me on the subject.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!