Hey! Just joined to say cljfx is awesome.
I haven’t done any java fx programming before (barely any swing 15 years ago). I started with the interactive example and it all made perfect sense.
The only thing I’m struggling with is the available built-ins and their arguments. I’m grepping through the examples to find stuff :)
🙂 ah, I have the same problem — always have to look at the code to remember what's available
I had an idea to spec default cljfx components and build some sort of a documentation system on top of that for easier lookups. Another leverage would be a dev-time middleware that checks descriptions and gives better error messages. Hardest part is finding the time 🙂
For sure. Though the examples give some info already and then rest can be pieced together from stack overflow and random google searches about javafx
Anyone got a cljfx example with GraalVM native-image?
I don’t but if it works it would a major thing- being able to ship guis as a single binary with fast startup!
@borkdude unfortunately not. I tried to port cljfx/hn example application to graalvm, but didn't succeed. You can find my progress in this commit — https://github.com/cljfx/hn/compare/native-image. Note that JavaFX requires a Gluon's fork of GraalVM.
I know where was another attempt to port cljfx to GraalVM: https://github.com/michaelsbradleyjr/hello-cljfx-native
I haven't investigated its state
Thanks!