import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class tf1 extends Applet
{
TextField t1,t2,t3;
public void init()
{
t1 = new TextField(10);
t2 = new TextField(20);
t3 = new TextField(30);
add(t1);
add(t2);
add(t3);
}
}
/* <body>
<applet code = "tf1.class" height = 250 width = 250>
</applet>
</body> */Java
Java Applet - TextField Demo

Written by
View ProfileSenthilvelan Sambamoorthy
Senthilvelan Sambamoorthy is working as a Professor in Department of Master of Computer Applications, Paavai Engineering College, Namakkal, Tamilnadu, India, He is Masters in Computers Applications. Having 18+ years of experience and his area of interest is Java, JSP, Servlet, J2EE, C#, PHP, Python ASP.NET, SQL Server and etc.
