-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGeneral_API.java
More file actions
34 lines (33 loc) · 846 Bytes
/
General_API.java
File metadata and controls
34 lines (33 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import java.applet.*;
import java.awt.*;
public class General_API extends Applet
{
FlowLayout f =new FlowLayout(FlowLayout.LEFT,20,20);
Label l1=new Label("Candidate Name : ");
TextField t1=new TextField(25);
Label l2=new Label("E-mail : ");
TextField t2=new TextField(33);
Label l3=new Label("Mobile Number : ");
TextField t3=new TextField("+91");
Label l4 =new Label("Address : ");
TextArea t4=new TextArea(2,30);
Button b1=new Button("Log in");
Button b2=new Button("Sign Up");
TextField t5=new TextField(15);
public void init()
{
setLayout(f);
add(l1);
add(t1);
add(l2);
add(t2);
add(l3);
t3.setEditable(false);
add(t3);
add(t5);
add(l4);
add(t4);
add(b1);
add(b2);
}
}