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 - RadioButton Demo
Senthilvelan Sambamoorthy
Aug 20
2016
Code
1.3
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
rad1.rar
import
java.awt.*;
import
java.applet.*;
import
java.awt.event.*;
public
class
rad1
extends
Applet
{
CheckboxGroup cg;
Checkbox r1,r2;
public
void
init()
{
cg=
new
CheckboxGroup();
r1=
new
Checkbox(
"Male"
,cg,
false
);
r2=
new
Checkbox(
"Female"
,cg,
false
);
add(r1);
add(r2);
}
}
/* <body>
<applet code = "rad1.class" height = 250 width = 250>
</applet>
</body> */
Java Applet - RadioButton Demo