-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAdminSettings.java
More file actions
111 lines (91 loc) · 4.42 KB
/
Copy pathAdminSettings.java
File metadata and controls
111 lines (91 loc) · 4.42 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JPanel.java to edit this template
*/
package hms.pro;
import javax.swing.JOptionPane;
/**
*
* @author lt1
*/
public class AdminSettings extends javax.swing.JPanel {
/**
* Creates new form AdminSettings
*/
public AdminSettings() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jCheckBox1 = new javax.swing.JCheckBox();
jCheckBox2 = new javax.swing.JCheckBox();
jTextField1 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jTextField2 = new javax.swing.JTextField();
jTextField3 = new javax.swing.JTextField();
setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jCheckBox1.setText("Do Nothing");
add(jCheckBox1, new org.netbeans.lib.awtextra.AbsoluteConstraints(305, 61, -1, -1));
jCheckBox2.setText("Inoperabale");
add(jCheckBox2, new org.netbeans.lib.awtextra.AbsoluteConstraints(305, 101, -1, -1));
jTextField1.setText("jdbc:mysql://localhost/hms");
jTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField1ActionPerformed(evt);
}
});
add(jTextField1, new org.netbeans.lib.awtextra.AbsoluteConstraints(181, 20, 571, -1));
jButton1.setText("CLICK");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(674, 104, -1, -1));
jLabel1.setText("SQL Connection");
add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(83, 23, -1, -1));
jLabel2.setText("DB User");
add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(83, 63, 86, -1));
jLabel3.setText("DB Pass");
add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(83, 103, -1, -1));
jTextField2.setText("hms");
add(jTextField2, new org.netbeans.lib.awtextra.AbsoluteConstraints(181, 60, -1, -1));
jTextField3.setText("Doorbell1");
jTextField3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextField3ActionPerformed(evt);
}
});
add(jTextField3, new org.netbeans.lib.awtextra.AbsoluteConstraints(181, 100, -1, -1));
}// </editor-fold>//GEN-END:initComponents
private void jTextField3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField3ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField3ActionPerformed
private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jTextField1ActionPerformed
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
// TODO add your handling code here:
JOptionPane.showMessageDialog(null, "Not Ready Yet!","Sorry!", JOptionPane.ERROR_MESSAGE);
}//GEN-LAST:event_jButton1ActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JCheckBox jCheckBox1;
private javax.swing.JCheckBox jCheckBox2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
// End of variables declaration//GEN-END:variables
}