TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Java Applet - TextField Demo
Senthilvelan Sambamoorthy
Aug 20
2016
Code
681
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
tf1.rar
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 Applet
TextField Demo