Not able to convert applet to Jwrapper app

117 Views Asked by At

I have an applet project which loads sensor dlls and loads sensor gui in web page,using jwrapper i am able to build the project and create 2 files FutronicAppEmbed.js FutronicAppEmbed.html ,but when i am running this FutronicAppEmbed.html nothing is displayed in browser.Please help.

1

There are 1 best solutions below

4
AntonyM On

If you open the HTML file in a browser you won't see anything as it won't load properly but if you put all the files from your build folder on a web server and then load the FutronicAppEmbed.html page you will get a download button for the app appropriate to your operating system.

JWrapper is an alternative to applets though in that it is an app delivery system which allows you to do dynamic parameterisation (as you can with server-side generated parameters in applet pages), but its not a direct replacement for applets in that the app will load in the web page. Instead you will need to specify a standard java main method and load your app in a swing frame and JWrapper will launch that.