Experience with piecewise migration Swing -> JFX
krueger at lesspain.de
Sat Jun 15 01:55:48 PDT 2013
On Fri, Jun 14, 2013 at 9:51 PM, John Smith <John_Smith at symantec.com> wrote:
> +1 to all Scott wrote.
>> There are JavaFX controls that cover *most* of the Swing controls.. but they are not 1:1. There is no equivalent to FormattedTextField for example. SplitPane behaves differently from the Swing equivalent.
> There are some 3rd party efforts to bridge some of the gaps between the Swing and JavaFX core functionality.
> For instance JIDE software just released a sleek FormattedTextField control (and other functionality): http://www.jidesoft.com/blog/2013/06/06/jidefx-beta-release/
> And the jfxtras project http://jfxtras.org/ and http://fxexperience.com/controlsfx/ provide further such additions such as spinner controls, dialog boxes, etc.
> There is a decent list of these 3rd party tools at:
> There is a big difference between the scope of what a company like Jide provide in their standard swing toolkit (http://www.jidesoft.com/) and what they currently provide for JavaFX, so if you want something sophisticated like a pivot table that you don't want to write yourself, you need to use the Swing JFXPanel (or HTML via WebView) wrapping approach.
> Note that JavaFX 8 introduces a Swing node so that you can embed Swing components in a JavaFX application - as that is pre-release software currently, nobody has used it yet for a commercial app. However, for piecewise migration of a large Swing application, the existing JFXPanel should be more relevant.
Thank you! I will check out the links. As far as fancy controls are
concerned, we should probably not need much beyond the standard
controls and some stuff that we custom-coded in Swing anyway and
probably will again in JFX.
More information about the openjfx-dev