Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Swing components in Vaddin
Hey all,
I wanted to ask whether i could use Swing components (such as JOptionPane) in Vaadin or not???
Junaid Naeem: I wanted to ask whether i could use Swing components (such as JOptionPane) in Vaadin or not???
The short answer is no - a Vaadin application is running on a server and the UI is displayed on the browser whereas Swing components are for locally running applications.
Junaid Naeem: Hey all,
I wanted to ask whether i could use Swing components (such as JOptionPane) in Vaadin or not???
I have looked into this exact issue. And while it is technically feasible to make a workable solution ( implement a Swing GraphicsDriver and all accompanying factories etc ) , it is much simpler to simply port a swing application to vaadin.
( And I found Vaadin before my 1st prototype Swing over web application worked :) ).