I've come across FxGraph: http://efxclipse.org/fxgraph.html
It shows how a nicer JSON like syntax is possible, without recurring to all those static methods that are not really the Java way.
Unfortunately there's no better syntax for Lambdas, ugly anonymous classes are still used for controllers.
If there's a way to simplify the syntax of lambdas without having to import huge libraries (lambdaj), or switching to another language (Groovy, Scala), or having to wait for 10 years for Java 9, please let me know!
I've come across FxGraph: http://efxclipse.org/fxgraph.html It shows how a nicer JSON like syntax is possible, without recurring to all those static methods that are not really the Java way.
Unfortunately there's no better syntax for Lambdas, ugly anonymous classes are still used for controllers. If there's a way to simplify the syntax of lambdas without having to import huge libraries (lambdaj), or switching to another language (Groovy, Scala), or having to wait for 10 years for Java 9, please let me know!