B4J Question JavaFx and TileFx

Josias

Member
Licensed User
Longtime User
Hi All.

I came across an amazingly beautiful tile Dashboard that uses TileFx. See : https://github.com/HanSolo/tilesfx
It seems that it uses JavaFx as the base.

Questions:
1) How applicable is JavaFx today (end of 2019)? The majority of the posts in the forum are dated.
2) Has it been replaced by XUI?
3) How can one make such beautiful Dashboards as shown in the link above? Especially the gauges and graphs
4) Is it possible to use TileFx?

Thnx all and enjoy the season.
 

Josias

Member
Licensed User
Longtime User
@stevel05 THnx for the quick reply. This is exciting.

I downloaded the files from the link supplied. It gave me the latest but excluded the hamcrest jar.
This is causing problems as I am getting the following error:
java.lang.UnsupportedClassVersionError: eu/hansolo/tilesfx/TileBuilder has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I've changed #additionalJar's to use the latest:
  • changed tilesfx-1.6.4 to tilesfx-11.28.jar
  • changed hamcrest-core-1.1 to hamcrest-2.2.jar as obtained from: https://search.maven.org/search?q=g:org.hamcrest

    Is it possible to use the latest jars? If so, what do I need to do to get it working? Note that I have no experience in using java code.
    Or should I just revert to the ones you used? If so, any idea what functionality won't be available?​
Thnx!!!
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Hi Josias, I'm glad you got it working. I originally wrapped the library as a test and haven't really used it in any projects. I will add looking at the latest files to my todo list, no promises on when I'll get round to it though.
 
Upvote 0
Top