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 - Label Demo
Senthilvelan Sambamoorthy
Aug 20
2016
Code
628
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
la1.rar
import
java.awt.*;
import
java.applet.*;
import
java.awt.event.*;
public
class
la1
extends
Applet
{
Label l1,l2,l3;
public
void
init()
{
l1 =
new
Label(
"Name : "
);
l2 =
new
Label(
"Phone No.: "
);
l3 =
new
Label(
"Place : "
);
add(l1);
add(l2);
add(l3);
}
}
/* <body>
<applet code = "la1.class" height = 250 width = 250>
</applet>
</body> */
Java Applet
Label Demo