Java

Java Applet - Checkbox Demo

Java Applet - Checkbox Demo
import java.awt.*; 
import java.applet.*; 
import java.awt.event.*; 

public class che1 extends Applet 
{ 
Checkbox c1,c2,c3; 


public void init() 
{ 
c1 = new Checkbox("B.Sc"); 
c2 = new Checkbox("M.Sc"); 
c3 = new Checkbox("MCA"); 

add(c1); 
add(c2); 
add(c3); 
} 
} 


/* <body> 
<applet code = "che1.class" height = 250 width = 250> 
</applet> 
</body> */
Senthilvelan 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.