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 - Choice Demo
Senthilvelan Sambamoorthy
Aug 20
2016
Code
741
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
cho1.rar
import
java.awt.*;
import
java.applet.*;
import
java.awt.event.*;
public
class
cho1
extends
Applet
{
Choice c;
public
void
init()
{
c =
new
Choice();
c.addItem(
"Managing Director"
);
c.addItem(
"Human Resources"
);
c.addItem(
"Software Engineer"
);
c.addItem(
"Team Leader"
);
c.addItem(
"Senior Programmer"
);
c.addItem(
"Programmer"
);
add(c);
}
}
/* <body>
<applet code = "cho1.class" height = 250 width = 250>
</applet>
</body> */
Java Applet
Choice Demo