Categories
Uncategorized

Java Applets

Write a program to add two numbers using lebel and textfield in a java applets. import java.awt.*; import java.applet.*; public class add extends Applet { TextField t1,t2; Label l1; public void init() { l1=new Label(“Enter the num to add”); t1=new TextField(10); t2=new TextField(10); add(l1); add(t1); add(t2); }