Joined November 2013
·

Alex Gunnarson

Sandy, UT
·
·
·

That makes sense, of course, to have that foundation. I started playing around with some UI elements (different fonts, layouts, buttons, etc. - the usual) using clj-javafx but it seemed like everything would break down at some point. Fonts wouldn't load correctly; the CSS files wouldn't quite apply to everything; some elements wouldn't import correctly... it was kind of a nightmare. And to make matters worse, the guy who was working on clj-javafx hadn't done any commits in months. I think he had abandoned the project. So it's nice to have someone who's working on it still :)

Also, I'm still a beginner with Clojure (although I'm decent at Scheme... SICP and all that), but if you ever need/want me to, I'm totally willing to contribute to ClojureFX if you'd like. Until then I'll just be kind of messing around with it and seeing how it works, etc.

P.S. - I can't wait until Oracle finally releases a "real" JRE (not just ADF Mobile) + JavaFX for iOS and Android. It'll be so cool to see what I'm developing on my Mac be interactive on an iPad (without hacks like Splashtop Streamer).

EDIT
Having looked at the code more (btw, the whole Labeled class import problem disappeared by using your deffx macro... yay), I feel utterly incompetent to really contribute anything meaningful. I think macros are like... 10 chapters away in the Clojure book I'm working through. Maybe someday... Also, I have to say that your wrapper is already much more elegant than the clj-javafx. Looks like you've automatically included many of the possible JavaFX classes and objects... clj-javafx never did that. +1

That's totally fine haha. What project, may I ask? Any screenshots? ;) I love UI design... Unless, of course, you're just working on the application logic so far, which is understandable given the (pre-)alpha stage of clojurefx.

Daniel,

Thanks for your speedy response. To be honest, I haven't actually tried your project out yet - I've just been using clj-javafx. I'll try yours later today and see how it works out. I'll let you know how it goes!

Daniel,

It's so great to see that you, too, are playing around with Clojure and JavaFX. I've been using chrix75's clj-javafx project on GitHub. How does your project (clojurefx) compare?

Also, I don't know if you've been getting this problem (maybe it's because I'm using JavaFX 8 instead of 2.2), but I keep trying to do:

(import 'javafx.scene.control.Label)

and I keep getting:

NoClassDefFoundError javafx.scene.control.Labeled

This is true whenever I try to import anything in the javafx.scene.control class. Are you by chance getting the same error?

Alex

Achievements
16 Karma
0 Total ProTip Views
Interests & Skills