import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Appt{
public static void main
(String args
[])
{
b.setSize(400,400);
b.setVisible(true);
b.add(a);
a.setLayout(null);
l1.setBounds(250,100,150,30);
a.add(l1);
t1.setBounds(400,100,400,30);
a.add(t1);
l1
= new JLabel("Register Number");
l1.setBounds(250,150,150,30);
a.add(l1);
t2.setBounds(400,150,400,30);
a.add(t2);
l1
= new JLabel("Librery id");
l1.setBounds(250,200,150,30);
a.add(l1);
t3.setBounds(400,200,400,30);
a.add(t3);
l1.setBounds(250,250,150,30);
a.add(l1);
r1.setBounds(400,250, 100, 30);
r2.setBounds(500,250, 100, 30);
bg.add(r1);bg.add(r2);
a.add(r1);a.add(r2);
l1.setBounds(250,300,150,30);
a.add(l1);
String course
[] = { "BCA",
"BCOM",
"BBA",
"Mcom"};
c1.setBounds(400, 300, 400, 30);
a.add(c1);
l1.setBounds(250,350,150,30);
a.add(l1);
checkBox1.setBounds(400, 350, 100, 30);
checkBox2.setBounds(500, 350, 100, 30);
a.add(checkBox1);
a.add(checkBox2);
l1
= new JLabel("Author Name");
l1.setBounds(250,400,150,30);
a.add(l1);
t4.setBounds(400,400,400,30);
a.add(t4);
b1.setBounds(300, 520, 150, 30);
a.add(b1);
b2.setBounds(550, 520, 150, 30);
a.add(b2);
{
{
t1.setText(" ");
t2.setText(" ");
t3.setText(" ");
t4.setText(" ");
}
});
}
}