-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClientSchedule.java
More file actions
43 lines (36 loc) · 824 Bytes
/
Copy pathClientSchedule.java
File metadata and controls
43 lines (36 loc) · 824 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
35
36
37
38
39
40
41
42
43
import javax.swing.*;
import javax.swing.JFrame;
import java.awt.event.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.WindowListener;
import java.awt.event.WindowEvent;
import java.sql.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
public class ClientSchedule extends JFrame
{
JPanel p1,p2;
JLabel l1;
Connection con;
ClientSchedule()
{
MyConnection my = new MyConnection();
con = my.Connect();
setSize(500,500);
setLayout(null);
setLocationRelativeTo(null);
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent w)
{
dispose();
}
});
}
public static void main(String[] args)
{
new ClientSchedule();
}
}