Java

Java Applet - Label Demo

Java Applet - Label Demo
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> */
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.