Separating observable data structures out into a separate library?
johan at lodgon.com
Tue Sep 23 12:22:16 UTC 2014
Having the whole observable and properties packages as part of Java SE
makes sense to me as well.
As for using it on Android: the JavaFX Android SDK contains a jfxrt.jar
which contains the observable packages, so you can easily extract them. You
will also need compat.jar which is in the same directory as jfxrt.jar
The source code is almost the same as the one in other distributions, apart
from a few classes that use default methods and so.
2014-09-23 14:15 GMT+02:00 Mike Hearn <mike at plan99.net>:
> Yeah, but my API is UI framework neutral. Telling people to use all of
> JavaFX isn't going to fly. Besides, I know the framework was developed by
> the JavaFX team but beyond that, why is it a part of the UI toolkit?
> Shouldn't these APIs be a part of java.util instead?
> On Tue, Sep 23, 2014 at 8:47 AM, Johan Vos <johan at lodgon.com> wrote:
>> The Observable framework works as part of the whole JavaFX Platform on
>> Android, see http://javafxports.org
>> - Johan
>> 2014-09-21 15:06 GMT+02:00 Mike Hearn <mike at plan99.net>:
>>> Observable data structures are a useful and general abstraction, which
>>> JavaFX deploys to great effect. Combined with the mirroring techniques I
>>> posted about a few months ago I found them to be a good way of combining
>>> background work and network-updated state with GUI apps.
>>> For this reason, they'd also be useful outside of JavaFX, like on
>>> So I have a couple of questions:
>>> 1. Are there license reasons why the JFX Observable* framework can't
>>> used in for example Android apps? How does the JFX license affect
>>> 2. If the JFX observables framework could be separated out from JFX
>>> itself, would there be any appetite for a Java 6 compatible version
>>> resided in some separate mavenable library?
More information about the openjfx-dev