I had a question about applets. I wrote a simple program and I want it to run as an applet. The program is running well and gives the right output in NetBeans IDE, there are no compilation errors, but the result does not appear in the appletviewer. I created a html file exactly as it is described in a book. The html file and the .class
file are in the same directory, but in my internet browser I get a page with a purple box with no text and the title "Applet HTML page". How can I get the output of my program to be displayed there?
I would appreciate any help. Thank you in advance.