If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Applet error:Start applet not initialised

hey guys

i've just done an applet (and this is the 1st time i do 1 !!) and ive been getting this error
Start applet not initialised! what can be a problem with it? the actual file compiiles fine, but when i try to execute it, it doesnt work

We'll need a bit more info to help.
Open the java console on your browser, copy the error messages that are there and post them here. There should be a menu item on the browser's taskbar to open the java console.

hey thanks for replying
im not using HTML page to open it... im opening it using an appletviewer (option available within the program ive got)... and thats the only error im getting, its not giving me more details....

I believe that the AppletViewer needs an <APPLET html statement to work.
How are you using AppletViewer? Do you open an HTML page with the <APPLET statement in it? Or how?

I include the HTML as a comment in the beginning of Applet's source code that I'm testing to make for easier debugging initially. For example in the source for AppletLoading.java:
/*
<APPLET CODE="AppletLoading.class" NAME="QLoader" HEIGHT=200 WIDTH=200>
<PARAM NAME="appletToLoad" VALUE="SecondApplet">
<PARAM NAME="SecondAppletParm" VALUE="Hello World">
</APPLET>
*/
Then I can issue the command: AppletViewer AppletLoading.java to test the applet in AppletViewer. It saves having a separate HTML file to update.