-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dashboard2.java
963 lines (840 loc) · 42.7 KB
/
Dashboard2.java
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package hmsp;
import java.util.*;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.*;
import javax.swing.table.*;
import java.sql.*;
import javax.sql.*;
/**
*
* @author Satheesh
*/
public class Dashboard2 extends javax.swing.JFrame {
String user;
/**
* Creates new form Dashboard
*/
public Dashboard2(String user) {
this.user=user;
initComponents();
setTable(user);
setTable2();
loadLabels(user);
}
private Dashboard2() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
/**
* 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() {
jTextField2 = new javax.swing.JTextField();
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();
jPanel5 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jPanel8 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jPanel14 = new javax.swing.JPanel();
jLabel14 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel();
jPanel9 = new javax.swing.JPanel();
jLabel39 = new javax.swing.JLabel();
jPanel15 = new javax.swing.JPanel();
jLabel25 = new javax.swing.JLabel();
jLabel26 = new javax.swing.JLabel();
jPanel4 = new javax.swing.JPanel();
parent = new javax.swing.JPanel();
info = new javax.swing.JPanel();
jLabel6 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jLabel42 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel();
jLabel18 = new javax.swing.JLabel();
jLabel20 = new javax.swing.JLabel();
jLabel22 = new javax.swing.JLabel();
jLabel21 = new javax.swing.JLabel();
jLabel23 = new javax.swing.JLabel();
Patient = new javax.swing.JPanel();
jSeparator6 = new javax.swing.JSeparator();
jTextField7 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jLabel41 = new javax.swing.JLabel();
jPanel3 = new javax.swing.JPanel();
jLabel19 = new javax.swing.JLabel();
jPanel6 = new javax.swing.JPanel();
jLabel24 = new javax.swing.JLabel();
jPanel11 = new javax.swing.JPanel();
jLabel29 = new javax.swing.JLabel();
Nurse = new javax.swing.JPanel();
jSeparator7 = new javax.swing.JSeparator();
jTextField8 = new javax.swing.JTextField();
jButton2 = new javax.swing.JButton();
jLabel43 = new javax.swing.JLabel();
jPanel7 = new javax.swing.JPanel();
jLabel27 = new javax.swing.JLabel();
jPanel10 = new javax.swing.JPanel();
jLabel28 = new javax.swing.JLabel();
jTextField2.setForeground(new java.awt.Color(255, 255, 255));
jTextField2.setBorder(null);
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setUndecorated(true);
setResizable(false);
addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
public void mouseDragged(java.awt.event.MouseEvent evt) {
formMouseDragged(evt);
}
});
addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
formMousePressed(evt);
}
});
jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jPanel2.setBackground(new java.awt.Color(41, 64, 114));
jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jPanel5.setBackground(new java.awt.Color(0, 174, 85));
jPanel5.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel2.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N
jLabel2.setForeground(new java.awt.Color(255, 255, 255));
jLabel2.setText("HMS");
jPanel5.add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 10, 110, -1));
jPanel2.add(jPanel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 190, 50));
jPanel8.setBackground(new java.awt.Color(102, 102, 255));
jPanel8.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel8MouseClicked(evt);
}
});
jPanel8.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel1.setFont(new java.awt.Font("Century Gothic", 1, 18)); // NOI18N
jLabel1.setForeground(new java.awt.Color(255, 255, 255));
jLabel1.setText("Info");
jPanel8.add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 10, -1, -1));
jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8_Forward_32px.png"))); // NOI18N
jPanel8.add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 0, 60, 49));
jPanel2.add(jPanel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 130, 190, 40));
jPanel14.setBackground(new java.awt.Color(41, 64, 114));
jPanel14.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel14MouseClicked(evt);
}
});
jPanel14.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8_Forward_32px.png"))); // NOI18N
jPanel14.add(jLabel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 10, -1, -1));
jLabel15.setFont(new java.awt.Font("Century Gothic", 1, 18)); // NOI18N
jLabel15.setForeground(new java.awt.Color(255, 255, 255));
jLabel15.setText("Nurse");
jPanel14.add(jLabel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 10, -1, -1));
jPanel2.add(jPanel14, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 210, 190, 40));
jPanel9.setBackground(new java.awt.Color(41, 64, 114));
jPanel9.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel9MouseClicked(evt);
}
});
jLabel39.setFont(new java.awt.Font("Century Gothic", 1, 18)); // NOI18N
jLabel39.setForeground(new java.awt.Color(255, 255, 255));
jLabel39.setText("Go Back");
javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
jPanel9.setLayout(jPanel9Layout);
jPanel9Layout.setHorizontalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addGap(32, 32, 32)
.addComponent(jLabel39)
.addContainerGap(72, Short.MAX_VALUE))
);
jPanel9Layout.setVerticalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel39, javax.swing.GroupLayout.DEFAULT_SIZE, 40, Short.MAX_VALUE)
);
jPanel2.add(jPanel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 430, 180, 40));
jPanel15.setBackground(new java.awt.Color(41, 64, 114));
jPanel15.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel15MouseClicked(evt);
}
});
jPanel15.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel25.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/icons8_Forward_32px.png"))); // NOI18N
jPanel15.add(jLabel25, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 10, -1, -1));
jLabel26.setFont(new java.awt.Font("Century Gothic", 1, 18)); // NOI18N
jLabel26.setForeground(new java.awt.Color(255, 255, 255));
jLabel26.setText("Patient");
jPanel15.add(jLabel26, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 10, -1, -1));
jPanel2.add(jPanel15, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 170, 190, 40));
jPanel1.add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 190, 510));
javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 180, Short.MAX_VALUE)
);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 50, Short.MAX_VALUE)
);
jPanel1.add(jPanel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 180, 50));
parent.setLayout(new java.awt.CardLayout());
info.setBackground(new java.awt.Color(255, 255, 255));
info.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jLabel6.setBackground(new java.awt.Color(255, 255, 255));
jLabel6.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel6.setForeground(new java.awt.Color(41, 64, 114));
jLabel6.setText("Name:");
info.add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 80, -1, -1));
jLabel7.setBackground(new java.awt.Color(255, 255, 255));
jLabel7.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel7.setForeground(new java.awt.Color(41, 64, 114));
jLabel7.setText("EID:");
info.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 113, 68, 43));
jLabel8.setBackground(new java.awt.Color(255, 255, 255));
jLabel8.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel8.setForeground(new java.awt.Color(41, 64, 114));
jLabel8.setText("Address:");
info.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 213, -1, -1));
jLabel9.setBackground(new java.awt.Color(255, 255, 255));
jLabel9.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel9.setForeground(new java.awt.Color(41, 64, 114));
jLabel9.setText("Gender:");
info.add(jLabel9, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 163, -1, -1));
jLabel10.setBackground(new java.awt.Color(255, 255, 255));
jLabel10.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel10.setForeground(new java.awt.Color(41, 64, 114));
jLabel10.setText("Phone:");
info.add(jLabel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 263, -1, -1));
jLabel42.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
jLabel42.setText("X");
jLabel42.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jLabel42MouseClicked(evt);
}
});
info.add(jLabel42, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 20, -1, -1));
jLabel4.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 73, 160, 36));
jLabel5.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 393, 160, 36));
jLabel11.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel11, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 153, 160, 36));
jLabel12.setBackground(new java.awt.Color(255, 255, 255));
jLabel12.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel12.setForeground(new java.awt.Color(41, 64, 114));
jLabel12.setText("Salary:");
info.add(jLabel12, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 303, -1, -1));
jLabel13.setBackground(new java.awt.Color(255, 255, 255));
jLabel13.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel13.setForeground(new java.awt.Color(41, 64, 114));
jLabel13.setText("Date joined:");
info.add(jLabel13, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 353, -1, -1));
jLabel16.setBackground(new java.awt.Color(255, 255, 255));
jLabel16.setFont(new java.awt.Font("Century Gothic", 1, 14)); // NOI18N
jLabel16.setForeground(new java.awt.Color(41, 64, 114));
jLabel16.setText("Date resigned");
info.add(jLabel16, new org.netbeans.lib.awtextra.AbsoluteConstraints(220, 403, -1, -1));
jLabel18.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel18, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 193, 160, 36));
jLabel20.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel20, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 243, 160, 36));
jLabel22.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel22, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 343, 160, 36));
jLabel21.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel21, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 293, 160, 36));
jLabel23.setFont(new java.awt.Font("Segoe UI", 1, 13)); // NOI18N
info.add(jLabel23, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 113, 160, 36));
parent.add(info, "info");
Patient.setBackground(new java.awt.Color(255, 255, 255));
jSeparator6.setBackground(new java.awt.Color(41, 64, 114));
jTextField7.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jTextField7.setBorder(null);
jButton1.setText("Search");
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
}
});
jLabel41.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
jLabel41.setText("X");
jLabel41.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jLabel41MouseClicked(evt);
}
});
jPanel3.setMaximumSize(new java.awt.Dimension(0, 0));
jPanel3.setLayout(new java.awt.GridLayout(1, 0));
jLabel19.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel19.setForeground(new java.awt.Color(255, 102, 102));
jPanel6.setBackground(new java.awt.Color(102, 153, 255));
jPanel6.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel6MouseClicked(evt);
}
});
jLabel24.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jLabel24.setForeground(new java.awt.Color(255, 255, 255));
jLabel24.setText("All Patients");
javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
jPanel6.setLayout(jPanel6Layout);
jPanel6Layout.setHorizontalGroup(
jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel6Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel24)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel6Layout.setVerticalGroup(
jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel6Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel24)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel11.setBackground(new java.awt.Color(102, 153, 255));
jPanel11.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel11MouseClicked(evt);
}
});
jLabel29.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jLabel29.setForeground(new java.awt.Color(255, 255, 255));
jLabel29.setText("Assigned Patients");
javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
jPanel11.setLayout(jPanel11Layout);
jPanel11Layout.setHorizontalGroup(
jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel11Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel29)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel11Layout.setVerticalGroup(
jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel11Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel29)
.addContainerGap())
);
javax.swing.GroupLayout PatientLayout = new javax.swing.GroupLayout(Patient);
Patient.setLayout(PatientLayout);
PatientLayout.setHorizontalGroup(
PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PatientLayout.createSequentialGroup()
.addGroup(PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, PatientLayout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(PatientLayout.createSequentialGroup()
.addGroup(PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PatientLayout.createSequentialGroup()
.addGap(217, 217, 217)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 56, Short.MAX_VALUE))
.addGroup(PatientLayout.createSequentialGroup()
.addGap(26, 26, 26)
.addGroup(PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jTextField7)
.addComponent(jSeparator6))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)))
.addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(69, 69, 69)
.addComponent(jLabel41)))
.addGap(258, 258, 258))
);
PatientLayout.setVerticalGroup(
PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(PatientLayout.createSequentialGroup()
.addGap(14, 14, 14)
.addGroup(PatientLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel41)
.addComponent(jTextField7, javax.swing.GroupLayout.Alignment.TRAILING))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jSeparator6, javax.swing.GroupLayout.DEFAULT_SIZE, 1, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel19, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, 373, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(39, 39, 39))
);
parent.add(Patient, "medicine");
Nurse.setBackground(new java.awt.Color(255, 255, 255));
Nurse.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jSeparator7.setBackground(new java.awt.Color(41, 64, 114));
Nurse.add(jSeparator7, new org.netbeans.lib.awtextra.AbsoluteConstraints(26, 69, 453, 1));
jTextField8.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
jTextField8.setBorder(null);
Nurse.add(jTextField8, new org.netbeans.lib.awtextra.AbsoluteConstraints(26, 14, 453, 48));
jButton2.setText("Search");
jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton2MouseClicked(evt);
}
});
Nurse.add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(491, 14, 110, 48));
jLabel43.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
jLabel43.setText("X");
jLabel43.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jLabel43MouseClicked(evt);
}
});
Nurse.add(jLabel43, new org.netbeans.lib.awtextra.AbsoluteConstraints(740, 20, -1, -1));
jPanel7.setMaximumSize(new java.awt.Dimension(0, 0));
jPanel7.setLayout(new java.awt.GridLayout(1, 0));
Nurse.add(jPanel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 130, 720, 373));
jLabel27.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel27.setForeground(new java.awt.Color(255, 102, 102));
Nurse.add(jLabel27, new org.netbeans.lib.awtextra.AbsoluteConstraints(217, 77, 233, 26));
jPanel10.setBackground(new java.awt.Color(102, 153, 255));
jPanel10.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jPanel10MouseClicked(evt);
}
});
jLabel28.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
jLabel28.setForeground(new java.awt.Color(255, 255, 255));
jLabel28.setText("All Nurses");
javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
jPanel10.setLayout(jPanel10Layout);
jPanel10Layout.setHorizontalGroup(
jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel10Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel28)
.addContainerGap(20, Short.MAX_VALUE))
);
jPanel10Layout.setVerticalGroup(
jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel10Layout.createSequentialGroup()
.addComponent(jLabel28, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 8, Short.MAX_VALUE))
);
Nurse.add(jPanel10, new org.netbeans.lib.awtextra.AbsoluteConstraints(610, 20, 100, 30));
parent.add(Nurse, "nurse");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(parent, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(parent, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
setSize(new java.awt.Dimension(984, 507));
setLocationRelativeTo(null);
}// </editor-fold>//GEN-END:initComponents
private void jPanel8MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel8MouseClicked
// TODO add your handling code here:
CardLayout card=(CardLayout)parent.getLayout();
card.show(parent,"info");
setColor(jPanel8);
resetColor(jPanel15);
resetColor(jPanel14);
jLabel19.setText("");
jLabel27.setText("");
}//GEN-LAST:event_jPanel8MouseClicked
private void jPanel14MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel14MouseClicked
// TODO add your handling code here:
CardLayout card=(CardLayout)parent.getLayout();
card.show(parent,"nurse");
setColor(jPanel14);
resetColor(jPanel15);
resetColor(jPanel8);
jLabel19.setText("");
jLabel27.setText("");
}//GEN-LAST:event_jPanel14MouseClicked
private void jPanel9MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel9MouseClicked
// TODO add your handling code here:
setColor(jPanel9);
resetColor(jPanel14);
resetColor(jPanel8);
this.setVisible(false);
new LoginHome().setVisible(true);
}//GEN-LAST:event_jPanel9MouseClicked
private void jLabel41MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel41MouseClicked
// TODO add your handling code here:
System.exit(0);
}//GEN-LAST:event_jLabel41MouseClicked
private void jLabel42MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel42MouseClicked
// TODO add your handling code here:
System.exit(0);
}//GEN-LAST:event_jLabel42MouseClicked
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
// TODO add your handling code here:
String pname=jTextField7.getText();
if(pname.isEmpty()){
jLabel19.setText("Please enter a value");
}else{
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
user=this.user;
ResultSet rs = stmt.executeQuery("select * from patient WHERE name LIKE '"+pname+"%'");
jLabel19.setText("");
JTable table = new JTable(buildTableModel(rs));
table.setBounds(0,0,100,100);
JScrollPane sp=new JScrollPane(table);
sp.setPreferredSize(new Dimension(100,50));
jPanel3.removeAll();
jPanel3.revalidate();
jPanel3.repaint();
jPanel3.add(sp);
if(rs.first()==false){
jLabel19.setText("No records found for "+pname);
jPanel3.removeAll();
jPanel3.revalidate();
jPanel3.repaint();
}
}catch(Exception e){System.out.println(e);}
}
}//GEN-LAST:event_jButton1MouseClicked
private void jPanel6MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel6MouseClicked
// TODO add your handling code here:
jPanel3.removeAll();
jPanel3.revalidate();
jPanel3.repaint();
setTable11(this.user);
}//GEN-LAST:event_jPanel6MouseClicked
private void jPanel15MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel15MouseClicked
// TODO add your handling code here:
// TODO add your handling code here:
CardLayout card=(CardLayout)parent.getLayout();
card.show(parent,"medicine");
setColor(jPanel15);
resetColor(jPanel14);
resetColor(jPanel8);
jLabel19.setText("");
jLabel27.setText("");
}//GEN-LAST:event_jPanel15MouseClicked
private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton2MouseClicked
// TODO add your handling code here:
String nursename=jTextField8.getText();
if(nursename.isEmpty()){
jLabel27.setText("Please enter a value");
}else{
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from Employee NATURAL JOIN Nurse WHERE name LIKE '"+nursename+"%'");
jLabel27.setText("");
JTable table = new JTable(buildTableModel(rs));
table.setBounds(0,0,100,100);
JScrollPane sp=new JScrollPane(table);
sp.setPreferredSize(new Dimension(100,50));
jPanel7.removeAll();
jPanel7.revalidate();
jPanel7.repaint();
jPanel7.add(sp);
if(rs.first()==false){
jLabel27.setText("No records found for "+nursename);
jPanel7.removeAll();
jPanel7.revalidate();
jPanel7.repaint();
}
}catch(Exception e){System.out.println(e);}
}
}//GEN-LAST:event_jButton2MouseClicked
private void jLabel43MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel43MouseClicked
// TODO add your handling code here:
System.exit(0);
}//GEN-LAST:event_jLabel43MouseClicked
private void jPanel10MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel10MouseClicked
// TODO add your handling code here:
jPanel7.removeAll();
jPanel7.revalidate();
jPanel7.repaint();
setTable2();
}//GEN-LAST:event_jPanel10MouseClicked
private void jPanel11MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jPanel11MouseClicked
// TODO add your handling code here:
jPanel3.removeAll();
jPanel3.revalidate();
jPanel3.repaint();
setTable(this.user);
}//GEN-LAST:event_jPanel11MouseClicked
int x1,y1;
private void formMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseDragged
// TODO add your handling code here:
int x=evt.getXOnScreen();
int y=evt.getYOnScreen();
this.setLocation(x-x1,y-y1);
}//GEN-LAST:event_formMouseDragged
private void formMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMousePressed
// TODO add your handling code here:
x1=evt.getX();
y1=evt.getY();
}//GEN-LAST:event_formMousePressed
void setColor(JPanel panel){
panel.setBackground(new Color(102,102,255));
}
void resetColor(JPanel panel){
panel.setBackground(new Color(41,64,114));
}
public void loadLabels(String user){
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from Employee WHERE EID= '"+user+"'");
while(rs.next()){
jLabel4.setText(rs.getString("name"));
jLabel23.setText(rs.getString("EID"));
jLabel11.setText(rs.getString("gender"));
jLabel18.setText(rs.getString("address"));
jLabel20.setText(rs.getString("phone"));
jLabel21.setText(rs.getString("salary"));
jLabel22.setText(rs.getString("date_joined"));
jLabel5.setText(rs.getString("date_resigned"));
}
// Closes the Connection
}
catch(Exception e){System.out.println(e);}
}
public void setTable(String user) {
// The Connection is obtained
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from patient natural join treats where EID='"+user+"'");
// It creates and displays the table
JTable table = new JTable(buildTableModel(rs));
table.setBounds(0,0,100,100);
JLabel l=new JLabel();
//l.setText("Hello Hello Hello Hello");
//l.setBounds(20,10,100,10);
//l.setMinimumSize(new Dimension(100,100));
//l.setBackground(new Color(0,0,0));
JScrollPane sp=new JScrollPane(table);
sp.setPreferredSize(new Dimension(100,50));
//JOptionPane.showMessageDialog(null,sp);
jPanel3.add(sp);
// Closes the Connection
}
catch(Exception e){System.out.println(e);}
}
public void setTable11(String user) {
// The Connection is obtained
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from patient");
// It creates and displays the table
JTable table = new JTable(buildTableModel(rs));
table.setBounds(0,0,100,100);
JLabel l=new JLabel();
//l.setText("Hello Hello Hello Hello");
//l.setBounds(20,10,100,10);
//l.setMinimumSize(new Dimension(100,100));
//l.setBackground(new Color(0,0,0));
JScrollPane sp=new JScrollPane(table);
sp.setPreferredSize(new Dimension(100,50));
//JOptionPane.showMessageDialog(null,sp);
jPanel3.add(sp);
// Closes the Connection
}
catch(Exception e){System.out.println(e);}
}
public void setTable2() {
// The Connection is obtained
try{
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from Employee NATURAL JOIN Nurse");
// It creates and displays the table
JTable table = new JTable(buildTableModel(rs));
table.setBounds(0,0,100,100);
JLabel l=new JLabel();
//l.setText("Hello Hello Hello Hello");
//l.setBounds(20,10,100,10);
//l.setMinimumSize(new Dimension(100,100));
//l.setBackground(new Color(0,0,0));
JScrollPane sp=new JScrollPane(table);
sp.setPreferredSize(new Dimension(100,50));
//JOptionPane.showMessageDialog(null,sp);
jPanel7.add(sp);
// Closes the Connection
}
catch(Exception e){System.out.println(e);}
}
public DefaultTableModel buildTableModel(ResultSet rs)
throws SQLException {
ResultSetMetaData metaData = rs.getMetaData();
// names of columns
Vector<String> columnNames = new Vector<String>();
int columnCount = metaData.getColumnCount();
for (int column = 1; column <= columnCount; column++) {
columnNames.add(metaData.getColumnName(column));
}
// data of the table
Vector<Vector<Object>> data = new Vector<Vector<Object>>();
while (rs.next()) {
Vector<Object> vector = new Vector<Object>();
for (int columnIndex = 1; columnIndex <= columnCount; columnIndex++) {
vector.add(rs.getObject(columnIndex));
}
data.add(vector);
}
return new DefaultTableModel(data, columnNames);
}
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Dashboard2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Dashboard2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Dashboard2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Dashboard2.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
new Dashboard2().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JPanel Nurse;
private javax.swing.JPanel Patient;
private javax.swing.JPanel info;
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel15;
private javax.swing.JLabel jLabel16;
private javax.swing.JLabel jLabel18;
private javax.swing.JLabel jLabel19;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel20;
private javax.swing.JLabel jLabel21;
private javax.swing.JLabel jLabel22;
private javax.swing.JLabel jLabel23;
private javax.swing.JLabel jLabel24;
private javax.swing.JLabel jLabel25;
private javax.swing.JLabel jLabel26;
private javax.swing.JLabel jLabel27;
private javax.swing.JLabel jLabel28;
private javax.swing.JLabel jLabel29;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel39;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel41;
private javax.swing.JLabel jLabel42;
private javax.swing.JLabel jLabel43;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel10;
private javax.swing.JPanel jPanel11;
private javax.swing.JPanel jPanel14;
private javax.swing.JPanel jPanel15;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JPanel jPanel6;
private javax.swing.JPanel jPanel7;
private javax.swing.JPanel jPanel8;
private javax.swing.JPanel jPanel9;
private javax.swing.JSeparator jSeparator6;
private javax.swing.JSeparator jSeparator7;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JPanel parent;
// End of variables declaration//GEN-END:variables
}