Source code for JavaFX UI controls now available on openjfx
Richard Bair
richard.bair at oracle.com
Sat Dec 3 09:07:17 PST 2011
On Dec 3, 2011, at 3:50 AM, Roman Kennke <roman at kennke.org> wrote:
> Hi Jonathan,
>
>> With regards as to whether the SwingView feature you've developed is
>> considered a control or not: my unofficial means of classifying would
>> say that unless it extends from, or somehow makes use of the
>> javafx.scene.control.Control class, it is not a control. If this isn't
>> the case (I haven't looked myself, but my guess is that it isn't),
>> then I'd say that this feature is not destined to be included in the
>> ui-controls project. Of course, it isn't my place to say this with any
>> conviction, I'm just saying what my interpretation is.
>
> The SwingView is a subclass of control. However, I still don't feel it
> should go side by side with the other controls, since it's not a
> 'regular' control like button, labels, combobox, etc. It could still be
> part of the ui-controls, just maybe in a different package.
I think it would go in the embed.swing package, for the reason outlined (modularity and not depending on AWT). I think it is ok to have swing specific nodes, controls, etc in javafx.embed.swing.
Richard
More information about the openjfx-dev
mailing list