© Stephen Chin, Johan Vos and James Weaver 2019
Stephen 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 Chin, Johan Vos2 and James Weaver3
(1)
Belmont, CA, USA
(2)
Leuven, Belgium
(3)
Marion, IN, USA
 
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 ...

Get The Definitive Guide to Modern Java Clients with JavaFX: Cross-Platform Mobile and Cloud Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.