It's a decent idea, but you should be
aware that NetLogo needs to run on Java 5+. With a bit of
digging, I was able to find a JavaFX version (2.0.2, I think it
was) that had compatibility with Java 6, but I wasn't able to find
one that worked with Java 5—though, I found nothing to positively
suggest that no such version of JavaFX exists. So, overall, if
you're going with JavaFX, you're going to need to use some older
version with sufficient Java backwards-compatibility.
Now, that isn't to say that being unable to find any JavaFX
version that works on Java 5 will kill off the option of using
JavaFX, but it will
complicate things. I'm not sure how
many people are still on Java 5, so it's perfectly conceivable
that we could disable the Modeling Commons-oriented features on
versions of Java 5, but that means you'll then have to worry
making sure that the option is disabled for them, and you'll also
have to make sure that the 'java5' branch of NetLogo continues to
compile with your changes—however you might want to go about
making that happen, just so long as nothing related to the
Modeling Commons explodes next time I go to that branch to make a
release.
If you can pull all of that off, you're free to submit a pull
request with such changes. I actually kind of favor such a thing;
if you can keep your UIs out of the NetLogo codebase, so much the
better. Otherwise, if that's not feasible, I'm not terribly
opposed to you continuing to make the UIs in Swing.
Jason Bertsche
Software Developer - NetLogo
On 04/25/2013 02:31 PM,
benjaminra...@u.northwestern.edu
wrote: