Embedding Swing/SWT/Native inside JavaFX

Tom Schindl tom.schindl at bestsolution.at
Wed Jul 24 11:55:09 PDT 2013


You can not embed a heavyweight toolkit (SWT) into a lightweight (JavaFX) one as far as i know.

I've investigated doing an SWT port which uses JavaFX under the covers but without major funding this won't be proceeded (at least) by us.

Tom

Von meinem iPhone gesendet

Am 24.07.2013 um 20:36 schrieb "Reto Urfer" <reto.urfer at pop.agri.ch>:

> Hi
> 
> 
> 
> In FX8 a SwingNode is avalable to integrate old legacy Swing code into a new
> JavaFX based application.
> 
> 
> 
> We currently have an Eclipse 3 RCP application with some embedded Swing
> parts. For the Migration to the Eclipse 4 platform it could be interresting
> to use FX instead of SWT because we heavily use theming which is mach better
> supported in FX.
> 
> 
> But this implies that it is possible to embed Swing AND SWT components into
> an FX based application because we can not rewrite the existing SWT parts
> with FX now. 
> 
> 
> 
> Are there any plans to provide a SWTNode to embedd SWT components int JavaFX
> like the SwingNode does for Swing components?
> 
> 
> 
> regards
> 
> Reto
> 
> 
> 
> ----------------------------------------------------------------------------
> -------
> 
> Reto Urfer
> 
> Mülligerstrasse 1
> 
> CH-5413 Birmenstorf
> 
> 
> 


More information about the openjfx-dev mailing list