Java

Java Applet - List Demo

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

public class lis1 extends Applet 
{ 
List l; 


public void init() 
{ 
l = new List(); 

l.add("Java"); 
l.add(".NET"); 
l.add("Mainframe"); 
l.add("SAP"); 
l.add("CORBA"); 

add(l); 
} 
} 


/* <body> 
<applet code = "lis1.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.