© Stephen Chin, Johan Vos and James Weaver 2019Stephen Chin, Johan Vos and James WeaverThe Definitive Guide to Modern Java Clients with JavaFXhttps://doi.org/10.1007/978-1-4842-4926-0_7
7. Bridging Swing and JavaFX
Stephen Chin1 , Johan Vos2 and James Weaver3
Written by Sven Reimers
One of the major advantages of a new UI toolkit is the possibility to protect your investments in existing applications. This chapter will show you how to integrate legacy Swing components into a modern JavaFX UI and how to integrate modern UI elements into an existing Swing application.
Because moving an existing Swing desktop application to a pure JavaFX application is challenging and not always necessary, this ...