Creating and Running Applet with AWT Components
Step 1: Create a Source file named "testapp.java" Step 2: Write the following code. import java.applet.*; import java.awt.*; import java.awt.event.*; /* <applet code="testapp" height=140 width=320 align="center"> </applet> */ public class testapp extends Applet implements ActionListener { Label l1,l2,l3,l4; Button ok,cancel; TextField name,add; public void init() { setBackground(new Color(219,240,251)); setLayout(null); name=new TextField(15); add=new TextField(15); l1=new Label("Enter Your Name:"); l1.setBounds(5,10,130,30); name.setBounds(150,10,130,20); l2=new Label("Enter Your Address:"); l2.set...