SwingBridge 1.2 introduces two-way interoperability between Java Swing and Vaadin, allowing Swing methods to be called from Vaadin views and vice versa using plain Java with automatic thread management between the Swing EDT and Vaadin UI thread. Annotations like @ExposedMethod and @VaadinCallback, combined with a Maven plugin that generates typed bridge interfaces, make the integration type-safe and deadlock-free. The release also adds NetBeans RCP application support with multitenant session isolation, improves browser canvas responsiveness to match Swing window dimensions, updates to the latest Vaadin platform, and provides clearer error handling when Swing apps fail to launch.

5m read timeFrom blog.vaadin.com
Post cover image
Table of contents
Interoperability: Swing and Vaadin views that talk to each otherSmoother responsiveness in the browserNetBeans RCP supportBuilt on the current Vaadin platformOther improvementsUpgrading to 1.2Try it
1.9K Impressions