Hi, I need to run an applet by clicking a hyperlink.The following is the piece of code which i tried.It opens a new window but the applet does not run.
The above works on a button click. In case of an hyperlink : First, have an html (called first.html) like this: <html> <p><a href="applettohtml.html">Click here to start Applet</a> </p> Next,in applettohtml.html have the code like this: <html> <applet code = "applettohtml.class" width = 100 height = 100> </applet> </html> Now, run first.html and click the link to run the applet. Remember to place first.html,applettohtml.html,applettohtml.class in the same directory. Try it out and mail me back.