I have a difficult dilemma. I implemented a java application using Netbeans while implementing it I used JFrame and now I want to convert it to JApplet so that it can essentially function as a web service. I have lots of classes and I tried Changing JFrame to Japplet as directed in some solutions on this site but then new errors arise because of that… for example … exit on close method not defined … pack not defined and so on.
Could anybody give me a better solution.
Thanks a lot
Any help appreciated
An applet is a guest in a web page and might share a JVM with other applets. Exiting the VM is like ‘burning down the guest house’. Instead call
showDocument(thanksForUsingUrl).validate()