applets are not initialised
i have written a simple applet program just to check how applets work..
HEIGHT= 300 >
public class applet extends Applet
public Textfield text;
public void init()
text = new TextField(20);
text.setText("Hello from java");
when i run this program on command prompt as
it opens an applet window but doesnt give any msg as hello from java
and also gives as "applets are not initialised".
i heard that there is method to initiate an applet
can u pls tell me that method or any remedy on this...???????