to know the basic about applet
Hi,
good after noon.
I have finished a simple project in java with Swing,MS-Access and JFreeReport.
Now I want to learn about applets.
So I write the following simple applet and run it in MS-Dos by the command ofappletviewer awtcont.java
Then I get the result well and I got the hope also.
Now I got the words of we can run our applets by other browsers like Internet explorer.
will you please tell me how to run the simple applet by using InternetExplorer.
my simple applet code is
import java.applet.*;
import java.awt.*;
publicclass awtcontextends Applet
{
publicvoid init()
{
Label l1=new Label("Enter your name");
Label l2=new Label("Enter your id");
TextField tx1=new TextField(20);
TextField tx2=new TextField(20);
setLayout(new GridLayout());
add(l1);
add(tx1);
add(l2);
add(tx2);
}
}
/* <applet code="awtcont" width=400 height=400>
</applet>
*/
Thank you so much.
Meena

