I am new to vaadin , I have to launch an applet on click of a button. I saw vaadion has addon for java applet. Instead of using vaadin applet addon, I am thinking call java script which uses deployJava.runapplet(…) (https://docs.oracle.com/javase/tutorial/deployment/applet/invokingAppletMethodsFromJavaScript.html) and add deployJava.js and anyother required js files to header in application servlet. My button listner from page will call
JavaScript.getCurrent().execute(" applet launch js function...")
Please advice.