IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

AWT/Swing Java Discussion :

ckeckbox multiple dans java


Sujet :

AWT/Swing Java

  1. #1
    Candidat au Club
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2012
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Lycéen
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2012
    Messages : 5
    Points : 4
    Points
    4
    Par défaut ckeckbox multiple dans java
    Bonjour à tous.
    Je suis débutant sur Java et je suis bloqué depuis 2 jours sur les checkbox.
    J'ai besoin de créer un combobox contenant une liste à cocher(checkbox).
    Je sais faire un combobox simple.
    Mais je ne sais pas par ou commencer pour le combobox list.
    J'utilise netbeans pour développer et je vous envoie mon code.
    Je veux ajouter le combobox list au niveau de la ligne 1258.
    Aider moi svp !

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
    981
    982
    983
    984
    985
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
    997
    998
    999
    1000
    1001
    1002
    1003
    1004
    1005
    1006
    1007
    1008
    1009
    1010
    1011
    1012
    1013
    1014
    1015
    1016
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    1025
    1026
    1027
    1028
    1029
    1030
    1031
    1032
    1033
    1034
    1035
    1036
    1037
    1038
    1039
    1040
    1041
    1042
    1043
    1044
    1045
    1046
    1047
    1048
    1049
    1050
    1051
    1052
    1053
    1054
    1055
    1056
    1057
    1058
    1059
    1060
    1061
    1062
    1063
    1064
    1065
    1066
    1067
    1068
    1069
    1070
    1071
    1072
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
    1082
    1083
    1084
    1085
    1086
    1087
    1088
    1089
    1090
    1091
    1092
    1093
    1094
    1095
    1096
    1097
    1098
    1099
    1100
    1101
    1102
    1103
    1104
    1105
    1106
    1107
    1108
    1109
    1110
    1111
    1112
    1113
    1114
    1115
    1116
    1117
    1118
    1119
    1120
    1121
    1122
    1123
    1124
    1125
    1126
    1127
    1128
    1129
    1130
    1131
    1132
    1133
    1134
    1135
    1136
    1137
    1138
    1139
    1140
    1141
    1142
    1143
    1144
    1145
    1146
    1147
    1148
    1149
    1150
    1151
    1152
    1153
    1154
    1155
    1156
    1157
    1158
    1159
    1160
    1161
    1162
    1163
    1164
    1165
    1166
    1167
    1168
    1169
    1170
    1171
    1172
    1173
    1174
    1175
    1176
    1177
    1178
    1179
    1180
    1181
    1182
    1183
    1184
    1185
    1186
    1187
    1188
    1189
    1190
    1191
    1192
    1193
    1194
    1195
    1196
    1197
    1198
    1199
    1200
    1201
    1202
    1203
    1204
    1205
    1206
    1207
    1208
    1209
    1210
    1211
    1212
    1213
    1214
    1215
    1216
    1217
    1218
    1219
    1220
    1221
    1222
    1223
    1224
    1225
    1226
    1227
    1228
    1229
    1230
    1231
    1232
    1233
    1234
    1235
    1236
    1237
    1238
    1239
    1240
    1241
    1242
    1243
    1244
    1245
    1246
    1247
    1248
    1249
    1250
    1251
    1252
    1253
    1254
    1255
    1256
    1257
    1258
    1259
    1260
    1261
    1262
    1263
    1264
    1265
    1266
    1267
    1268
    1269
    1270
    1271
    1272
    1273
    1274
    1275
    1276
    1277
    1278
    1279
    1280
    1281
    1282
    1283
    1284
    1285
    1286
    1287
    1288
    1289
    1290
    1291
    1292
    1293
    1294
    1295
    1296
    1297
    1298
    1299
    1300
    1301
    1302
    1303
    1304
    1305
    1306
    1307
    1308
    1309
    1310
    1311
    1312
    1313
    1314
    1315
    1316
    1317
    1318
    1319
    1320
    1321
    1322
    1323
    1324
    1325
    1326
    1327
    1328
    1329
    1330
    1331
    1332
    1333
    1334
    1335
    1336
    1337
    1338
    1339
    1340
    1341
    1342
    1343
    1344
    1345
    1346
    1347
    1348
    1349
    1350
    1351
    1352
    1353
    1354
    1355
    1356
    1357
    1358
    1359
    1360
    1361
    1362
    1363
    1364
    1365
    1366
    1367
    1368
    1369
    1370
    1371
    1372
    1373
    1374
    1375
    1376
    1377
    1378
    1379
    1380
    1381
    1382
    1383
    1384
    1385
    1386
    1387
    1388
    1389
    1390
    1391
    1392
    1393
    1394
    1395
    1396
    1397
    1398
    1399
    1400
    1401
    1402
    1403
    1404
    1405
    1406
    1407
    1408
    1409
    1410
    1411
    1412
    1413
    1414
    1415
    1416
    1417
    1418
    1419
    1420
    1421
    1422
    1423
    1424
    1425
    1426
    1427
    1428
    1429
    1430
    1431
    1432
    1433
    1434
    1435
    1436
    1437
    1438
    1439
    1440
    1441
    1442
    1443
    1444
    1445
    1446
    1447
    1448
    1449
    1450
    1451
    1452
    1453
    1454
    1455
    1456
    1457
    1458
    1459
    1460
    1461
    1462
    1463
    1464
    1465
    1466
    1467
    1468
    1469
    1470
    1471
    1472
    1473
    1474
    1475
    1476
    1477
    1478
    1479
    1480
    1481
    1482
    1483
    1484
    1485
    1486
    1487
    1488
    1489
    1490
    1491
    1492
    1493
    1494
    1495
    1496
    1497
    1498
    1499
    1500
    1501
    1502
    1503
    1504
    1505
    1506
    1507
    1508
    1509
    1510
    1511
    1512
    1513
    1514
    1515
    1516
    1517
    1518
    1519
    1520
    1521
    1522
    1523
    1524
    1525
    1526
    1527
    1528
    1529
    1530
    1531
    1532
    1533
    1534
    1535
    1536
    1537
    1538
    1539
    1540
    1541
    1542
    1543
    1544
    1545
    1546
    1547
    1548
    1549
    1550
    1551
    1552
    1553
    1554
    1555
    1556
    1557
    1558
    1559
    1560
    1561
    1562
    1563
    1564
    1565
    1566
    1567
    1568
    1569
    1570
    1571
    1572
    1573
    1574
    1575
    1576
    1577
    1578
    1579
    1580
    1581
    1582
    1583
    1584
    1585
    1586
    1587
    1588
    1589
    1590
    1591
    1592
    1593
    1594
    1595
    1596
    1597
    1598
    1599
    1600
    1601
    1602
    /*
     * 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 fenetre;
     
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.HeadlessException;
    import java.awt.event.KeyEvent;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import static java.awt.print.Printable.NO_SUCH_PAGE;
    import static java.awt.print.Printable.PAGE_EXISTS;
    import java.awt.print.PrinterException;
    import java.awt.print.PrinterJob;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import javax.swing.JOptionPane;
    import javax.swing.SwingUtilities;
    import net.proteanit.sql.DbUtils;
    import java.lang.Exception;
    import java.lang.String;
    import java.awt.event.*;
     
     
    /**
     *
     * @author DAMA
     */
    public class screationGUI extends javax.swing.JFrame {
     
        public boolean dataStatu;
        //String requete=
     
        public void getData(){
            try{
     
                java.sql.Statement stmt1=maConnexion.ObtenirConnexion().createStatement();
                java.sql.ResultSet resultat= stmt1.executeQuery("SELECT matricule, nom, prenom FROM EMPLOYE");
    	    jTable1.setModel(DbUtils.resultSetToTableModel(resultat));
     
     
           }catch(Exception e){
     
    }
        }
     
     
        public screationGUI() {
            initComponents();
            setExtendedState(JFrame.MAXIMIZED_BOTH);
            jTMatricule.setEditable(true);
            jTNom.setEditable(true);
            jTPrenom.setEditable(true);
            UpdateComboTitre();
            UpdateComboPaysNationalite();
            UpdateComboPaysNaissance();
            UpdateComboSexe();
            UpdateComboCrit1();
            UpdateComboCrit2();
            UpdateComboCrit3();
            UpdateComboCrit4();
            UpdateComboCrit5();
            UpdateComboCrit6();
            UpdateComboCrit7();
            UpdateComboCrit8();
            UpdateComboCrit9();
            UpdateComboCrit10();
            UpdateComboCrit11();
            UpdateComboCrit12();
            setLocation(8,32);
     
            getData();
            dataStatu= true;
             SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
            jTMatricule.requestFocus();
     
          }
     
        });
             pack();
        }
        Statement stmt;
        Connexion maConnexion= new Connexion();
     
        /**
         * Creates new form screationGUI
         */
     
        /**
         * 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">                          
        private void initComponents() {
            bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
     
            buttonGroup1 = new javax.swing.ButtonGroup();
            buttonGroup2 = new javax.swing.ButtonGroup();
            buttonGroup3 = new javax.swing.ButtonGroup();
            jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
            jRadioButtonMenuItem1 = new javax.swing.JRadioButtonMenuItem();
            jCheckBoxMenuItem3 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem4 = new javax.swing.JCheckBoxMenuItem();
            jPanel5 = new javax.swing.JPanel();
            jLabel5 = new javax.swing.JLabel();
            jPanel6 = new javax.swing.JPanel();
            jScrollPane1 = new javax.swing.JScrollPane();
            jTable1 = new javax.swing.JTable();
            jPanel7 = new javax.swing.JPanel();
            jLNom = new javax.swing.JLabel();
            jLTitre = new javax.swing.JLabel();
            jLNom2 = new javax.swing.JLabel();
            jCTitre = new javax.swing.JComboBox<>();
            jLNom3 = new javax.swing.JLabel();
            jLNom4 = new javax.swing.JLabel();
            jTMarital = new javax.swing.JTextField();
            jLNationalite = new javax.swing.JLabel();
            jCPaysNationalite = new javax.swing.JComboBox<>();
            jTPrenom = new javax.swing.JTextField();
            jTNom = new javax.swing.JTextField();
            jTMatricule = new javax.swing.JTextField();
            jLSexe = new javax.swing.JLabel();
            jCSexe = new javax.swing.JComboBox<>();
            jPanel1 = new javax.swing.JPanel();
            jLDateNais = new javax.swing.JLabel();
            jTDateNais = new com.toedter.calendar.JDateChooser();
            jLLieuNais = new javax.swing.JLabel();
            jLNationalite1 = new javax.swing.JLabel();
            jCPaysNaissance = new javax.swing.JComboBox<>();
            jTLieuNais = new javax.swing.JTextField();
            jPanel2 = new javax.swing.JPanel();
            jPanel3 = new javax.swing.JPanel();
            jPanel4 = new javax.swing.JPanel();
            jCcrit1 = new javax.swing.JComboBox<>();
            jCcrit2 = new javax.swing.JComboBox<>();
            jCcrit3 = new javax.swing.JComboBox<>();
            jCcrit4 = new javax.swing.JComboBox<>();
            jCcrit5 = new javax.swing.JComboBox<>();
            jCcrit6 = new javax.swing.JComboBox<>();
            jCcrit7 = new javax.swing.JComboBox<>();
            jCcrit8 = new javax.swing.JComboBox<>();
            jCcrit9 = new javax.swing.JComboBox<>();
            jCcrit10 = new javax.swing.JComboBox<>();
            jCcrit12 = new javax.swing.JComboBox<>();
            jCcrit11 = new javax.swing.JComboBox<>();
            jLNom5 = new javax.swing.JLabel();
            jLNom6 = new javax.swing.JLabel();
            jLNom7 = new javax.swing.JLabel();
            jLNom8 = new javax.swing.JLabel();
            jLNom9 = new javax.swing.JLabel();
            jLNom10 = new javax.swing.JLabel();
            jLNom11 = new javax.swing.JLabel();
            jLNom12 = new javax.swing.JLabel();
            jLNom13 = new javax.swing.JLabel();
            jLNom14 = new javax.swing.JLabel();
            jLNom15 = new javax.swing.JLabel();
            jLNom16 = new javax.swing.JLabel();
            jPanel8 = new javax.swing.JPanel();
            jCcritx1 = new javax.swing.JComboBox<>();
            jPanel9 = new javax.swing.JPanel();
            jLVarLibre1 = new javax.swing.JLabel();
            jTVarLibre1 = new javax.swing.JTextField();
            jLVarLibre2 = new javax.swing.JLabel();
            jTVarLibre2 = new javax.swing.JTextField();
            jLVarLibre3 = new javax.swing.JLabel();
            jTVarLibre3 = new javax.swing.JTextField();
            jLVarLibre4 = new javax.swing.JLabel();
            jTVarLibre4 = new javax.swing.JTextField();
            jLVarLibre5 = new javax.swing.JLabel();
            jTVarLibre5 = new javax.swing.JTextField();
            jLVarLibre6 = new javax.swing.JLabel();
            jTVarLibre6 = new javax.swing.JTextField();
            jPanel10 = new javax.swing.JPanel();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            jSupprimer = new javax.swing.JButton();
            jButton4 = new javax.swing.JButton();
            jButton5 = new javax.swing.JButton();
            jPanel11 = new javax.swing.JPanel();
            jTSearch = new javax.swing.JTextField();
            jLTel1 = new javax.swing.JLabel();
            jTSearch1 = new javax.swing.JTextField();
            jLTel2 = new javax.swing.JLabel();
     
            jCheckBoxMenuItem1.setSelected(true);
            jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");
     
            jCheckBoxMenuItem2.setSelected(true);
            jCheckBoxMenuItem2.setText("jCheckBoxMenuItem2");
     
            jRadioButtonMenuItem1.setSelected(true);
            jRadioButtonMenuItem1.setText("jRadioButtonMenuItem1");
     
            jCheckBoxMenuItem3.setSelected(true);
            jCheckBoxMenuItem3.setText("jCheckBoxMenuItem3");
     
            jCheckBoxMenuItem4.setSelected(true);
            jCheckBoxMenuItem4.setText("jCheckBoxMenuItem4");
     
            setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
     
            jPanel5.setBackground(new java.awt.Color(255, 204, 255));
     
            jLabel5.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
            jLabel5.setForeground(new java.awt.Color(255, 255, 255));
            jLabel5.setText("GESTION DES EMPLOYES");
     
            jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder("Détails sur l'employé"));
     
            jTable1.setModel(new javax.swing.table.DefaultTableModel(
                new Object [][] {
                    {null, null, null},
                    {null, null, null},
                    {null, null, null},
                    {null, null, null}
                },
                new String [] {
                    "Matricule", "Nom", "Prénom(s)"
                }
            ));
            jTable1.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jTable1MouseClicked(evt);
                }
            });
            jScrollPane1.setViewportView(jTable1);
     
            jPanel7.setBackground(new java.awt.Color(204, 255, 255));
            jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Etat civil"));
     
            jLNom.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom.setForeground(new java.awt.Color(255, 102, 102));
            jLNom.setText("Matricule");
     
            jLTitre.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLTitre.setForeground(new java.awt.Color(255, 102, 102));
            jLTitre.setText("Titre");
     
            jLNom2.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom2.setForeground(new java.awt.Color(255, 102, 102));
            jLNom2.setText("Nom");
     
            jLNom3.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom3.setForeground(new java.awt.Color(255, 102, 102));
            jLNom3.setText("Nom marital");
     
            jLNom4.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom4.setForeground(new java.awt.Color(255, 102, 102));
            jLNom4.setText("Prénom(s)");
     
            jTMarital.setText(" ");
            jTMarital.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTMaritalActionPerformed(evt);
                }
            });
            jTMarital.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTMaritalKeyTyped(evt);
                }
            });
     
            jLNationalite.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNationalite.setForeground(new java.awt.Color(255, 102, 102));
            jLNationalite.setText("Nationnalité");
     
            jTPrenom.setText(" ");
            jTPrenom.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTPrenomActionPerformed(evt);
                }
            });
            jTPrenom.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTPrenomKeyTyped(evt);
                }
            });
     
            jTNom.setText(" ");
            jTNom.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTNomActionPerformed(evt);
                }
            });
            jTNom.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTNomKeyTyped(evt);
                }
            });
     
            jTMatricule.setText(" ");
            jTMatricule.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTMatriculeActionPerformed(evt);
                }
            });
            jTMatricule.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTMatriculeKeyTyped(evt);
                }
            });
     
            jLSexe.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLSexe.setForeground(new java.awt.Color(255, 102, 102));
            jLSexe.setText("Genre");
     
            jCSexe.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jCSexeActionPerformed(evt);
                }
            });
     
            javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
            jPanel7.setLayout(jPanel7Layout);
            jPanel7Layout.setHorizontalGroup(
                jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel7Layout.createSequentialGroup()
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel7Layout.createSequentialGroup()
                            .addComponent(jLNom)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                            .addComponent(jTMatricule, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(jPanel7Layout.createSequentialGroup()
                            .addComponent(jLNationalite)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jCPaysNationalite, javax.swing.GroupLayout.PREFERRED_SIZE, 136, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(42, 42, 42)
                            .addComponent(jLSexe, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(18, 18, 18)
                            .addComponent(jCSexe, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGroup(jPanel7Layout.createSequentialGroup()
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addComponent(jLTitre)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jCTitre, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLNom2)
                                .addGap(18, 18, 18))
                            .addGroup(jPanel7Layout.createSequentialGroup()
                                .addComponent(jLNom3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                        .addGroup(jPanel7Layout.createSequentialGroup()
                            .addComponent(jLNom4, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(106, 106, 106)))
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jTPrenom)
                        .addComponent(jTNom)
                        .addComponent(jTMarital, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)))
            );
            jPanel7Layout.setVerticalGroup(
                jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel7Layout.createSequentialGroup()
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLNom, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTMatricule, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(jPanel7Layout.createSequentialGroup()
                            .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLTitre, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jLNom2, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jCTitre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jTNom, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jLNom3, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addComponent(jTMarital, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLNom4, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTPrenom, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(7, 7, 7)
                    .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLNationalite, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCPaysNationalite, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLSexe, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCSexe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(0, 3, Short.MAX_VALUE))
            );
     
            jPanel1.setBackground(new java.awt.Color(204, 255, 255));
            jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Naissance"));
     
            jLDateNais.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLDateNais.setForeground(new java.awt.Color(255, 102, 102));
            jLDateNais.setText("DATE NAISSANCE");
     
            jTDateNais.setDateFormatString("yyyy-MM-dd");
     
            jLLieuNais.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLLieuNais.setForeground(new java.awt.Color(255, 102, 102));
            jLLieuNais.setText("LIEU DE NAISSANCE");
     
            jLNationalite1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNationalite1.setForeground(new java.awt.Color(255, 102, 102));
            jLNationalite1.setText("PAYS NAISSANCE");
     
            jTLieuNais.setText(" ");
            jTLieuNais.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTLieuNaisActionPerformed(evt);
                }
            });
            jTLieuNais.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTLieuNaisKeyTyped(evt);
                }
            });
     
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addComponent(jLDateNais)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jTDateNais, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jLLieuNais, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE)
                        .addComponent(jLNationalite1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jCPaysNaissance, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addComponent(jTLieuNais, javax.swing.GroupLayout.PREFERRED_SIZE, 164, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(0, 0, Short.MAX_VALUE))))
            );
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jTDateNais, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLDateNais, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jCPaysNaissance, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNationalite1, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLLieuNais, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTLieuNais, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)))
            );
     
            jPanel2.setBackground(new java.awt.Color(204, 255, 255));
            jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Adresse"));
     
            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 0, Short.MAX_VALUE)
            );
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 90, Short.MAX_VALUE)
            );
     
            jPanel3.setBackground(new java.awt.Color(204, 255, 255));
            jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Autres informations"));
     
            javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
            jPanel3.setLayout(jPanel3Layout);
            jPanel3Layout.setHorizontalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 0, Short.MAX_VALUE)
            );
            jPanel3Layout.setVerticalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 70, Short.MAX_VALUE)
            );
     
            jPanel4.setBackground(new java.awt.Color(204, 255, 255));
            jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder("Crtitères simples"));
     
            jCcrit1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jCcrit1ActionPerformed(evt);
                }
            });
     
            jLNom5.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom5.setForeground(new java.awt.Color(255, 102, 102));
            jLNom5.setText("Crit1");
     
            jLNom6.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom6.setForeground(new java.awt.Color(255, 102, 102));
            jLNom6.setText("Crit2");
     
            jLNom7.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom7.setForeground(new java.awt.Color(255, 102, 102));
            jLNom7.setText("Crit3");
     
            jLNom8.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom8.setForeground(new java.awt.Color(255, 102, 102));
            jLNom8.setText("Crit4");
     
            jLNom9.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom9.setForeground(new java.awt.Color(255, 102, 102));
            jLNom9.setText("Crit5");
     
            jLNom10.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom10.setForeground(new java.awt.Color(255, 102, 102));
            jLNom10.setText("Crit6");
     
            jLNom11.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom11.setForeground(new java.awt.Color(255, 102, 102));
            jLNom11.setText("Crit7");
     
            jLNom12.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom12.setForeground(new java.awt.Color(255, 102, 102));
            jLNom12.setText("Crit8");
     
            jLNom13.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom13.setForeground(new java.awt.Color(255, 102, 102));
            jLNom13.setText("Crit9");
     
            jLNom14.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom14.setForeground(new java.awt.Color(255, 102, 102));
            jLNom14.setText("Crit10");
     
            jLNom15.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom15.setForeground(new java.awt.Color(255, 102, 102));
            jLNom15.setText("Crit11");
     
            jLNom16.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLNom16.setForeground(new java.awt.Color(255, 102, 102));
            jLNom16.setText("Crit12");
     
            javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
            jPanel4.setLayout(jPanel4Layout);
            jPanel4Layout.setHorizontalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addGap(2, 2, 2)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLNom6, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom7, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom8, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom9, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom10, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom11, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom12, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom13, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom14, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom16, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLNom15, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGap(18, 18, 18)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jCcrit11, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit12, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit10, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit9, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit8, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit7, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit6, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit5, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jCcrit3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
                    .addComponent(jLNom5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jCcrit1, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE))
            );
            jPanel4Layout.setVerticalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom5, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom6, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom7, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom8, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom9, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom10, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom11, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom12, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom13, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom14, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom15, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCcrit12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLNom16, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)))
            );
     
            jPanel8.setBackground(new java.awt.Color(204, 255, 255));
            jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder("Crtitères Multiples"));
     
            org.jdesktop.beansbinding.Binding binding = org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, buttonGroup1, org.jdesktop.beansbinding.ELProperty.create("${selection.selected}"), jCcritx1, org.jdesktop.beansbinding.BeanProperty.create("selectedItem"));
            bindingGroup.addBinding(binding);
     
            jCcritx1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jCcritx1ActionPerformed(evt);
                }
            });
     
            javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
            jPanel8.setLayout(jPanel8Layout);
            jPanel8Layout.setHorizontalGroup(
                jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel8Layout.createSequentialGroup()
                    .addContainerGap(85, Short.MAX_VALUE)
                    .addComponent(jCcritx1, javax.swing.GroupLayout.PREFERRED_SIZE, 120, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap())
            );
            jPanel8Layout.setVerticalGroup(
                jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel8Layout.createSequentialGroup()
                    .addComponent(jCcritx1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 0, Short.MAX_VALUE))
            );
     
            jPanel9.setBackground(new java.awt.Color(204, 255, 255));
            jPanel9.setBorder(javax.swing.BorderFactory.createTitledBorder("Variables libres"));
     
            jLVarLibre1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre1.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre1.setText("VarLibre1");
     
            jTVarLibre1.setText(" ");
            jTVarLibre1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre1ActionPerformed(evt);
                }
            });
            jTVarLibre1.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre1KeyTyped(evt);
                }
            });
     
            jLVarLibre2.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre2.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre2.setText("VarLibre2");
     
            jTVarLibre2.setText(" ");
            jTVarLibre2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre2ActionPerformed(evt);
                }
            });
            jTVarLibre2.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre2KeyTyped(evt);
                }
            });
     
            jLVarLibre3.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre3.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre3.setText("VarLibre3");
     
            jTVarLibre3.setText(" ");
            jTVarLibre3.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre3ActionPerformed(evt);
                }
            });
            jTVarLibre3.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre3KeyTyped(evt);
                }
            });
     
            jLVarLibre4.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre4.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre4.setText("VarLibre4");
     
            jTVarLibre4.setText(" ");
            jTVarLibre4.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre4ActionPerformed(evt);
                }
            });
            jTVarLibre4.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre4KeyTyped(evt);
                }
            });
     
            jLVarLibre5.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre5.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre5.setText("VarLibre5");
     
            jTVarLibre5.setText(" ");
            jTVarLibre5.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre5ActionPerformed(evt);
                }
            });
            jTVarLibre5.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre5KeyTyped(evt);
                }
            });
     
            jLVarLibre6.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLVarLibre6.setForeground(new java.awt.Color(255, 102, 102));
            jLVarLibre6.setText("VarLibre6");
     
            jTVarLibre6.setText(" ");
            jTVarLibre6.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTVarLibre6ActionPerformed(evt);
                }
            });
            jTVarLibre6.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    jTVarLibre6KeyTyped(evt);
                }
            });
     
            javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
            jPanel9.setLayout(jPanel9Layout);
            jPanel9Layout.setHorizontalGroup(
                jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addComponent(jTVarLibre1, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addComponent(jTVarLibre2, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addComponent(jTVarLibre3, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(115, 115, 115)
                    .addComponent(jTVarLibre4, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addComponent(jTVarLibre5, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addComponent(jLVarLibre6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGap(18, 18, 18)
                    .addComponent(jTVarLibre6, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE))
            );
            jPanel9Layout.setVerticalGroup(
                jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel9Layout.createSequentialGroup()
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre1, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre2, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre2, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre3, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre3, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre4, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre4, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre5, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre5, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLVarLibre6, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jTVarLibre6, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(0, 0, Short.MAX_VALUE))
            );
     
            jPanel10.setBackground(new java.awt.Color(204, 255, 255));
            jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder("Recherche employé"));
     
            jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fenetre/autres/new_user.png"))); // NOI18N
            jButton1.setText("Nouveau");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
                }
            });
     
            jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fenetre/autres/user_save.png"))); // NOI18N
            jButton2.setText("Sauver");
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton2ActionPerformed(evt);
                }
            });
     
            jSupprimer.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fenetre/autres/user_delete.png"))); // NOI18N
            jSupprimer.setText("Supprimer");
            jSupprimer.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jSupprimerActionPerformed(evt);
                }
            });
     
            jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fenetre/autres/use_exit.png"))); // NOI18N
            jButton4.setText("Sortir");
            jButton4.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton4ActionPerformed(evt);
                }
            });
     
            jButton5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fenetre/autres/user_print.png"))); // NOI18N
            jButton5.setText("Imprimante");
     
            javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
            jPanel10.setLayout(jPanel10Layout);
            jPanel10Layout.setHorizontalGroup(
                jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel10Layout.createSequentialGroup()
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jSupprimer)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jButton5)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap())
            );
            jPanel10Layout.setVerticalGroup(
                jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel10Layout.createSequentialGroup()
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButton1)
                        .addComponent(jButton2)
                        .addComponent(jSupprimer)
                        .addComponent(jButton4)
                        .addComponent(jButton5))
                    .addGap(0, 0, Short.MAX_VALUE))
            );
     
            jPanel11.setBackground(new java.awt.Color(204, 255, 255));
            jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder("Recherche employé"));
     
            jTSearch.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTSearchActionPerformed(evt);
                }
            });
            jTSearch.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    jTSearchKeyReleased(evt);
                }
            });
     
            jLTel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLTel1.setForeground(new java.awt.Color(0, 51, 255));
            jLTel1.setText("Nom");
     
            jTSearch1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jTSearch1ActionPerformed(evt);
                }
            });
            jTSearch1.addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    jTSearch1KeyReleased(evt);
                }
            });
     
            jLTel2.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
            jLTel2.setForeground(new java.awt.Color(0, 51, 255));
            jLTel2.setText("Prénom");
     
            javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
            jPanel11.setLayout(jPanel11Layout);
            jPanel11Layout.setHorizontalGroup(
                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(jLTel1, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jTSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 132, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(34, 34, 34)
                    .addComponent(jLTel2, javax.swing.GroupLayout.PREFERRED_SIZE, 58, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(jTSearch1, javax.swing.GroupLayout.PREFERRED_SIZE, 129, javax.swing.GroupLayout.PREFERRED_SIZE))
            );
            jPanel11Layout.setVerticalGroup(
                jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel11Layout.createSequentialGroup()
                    .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTSearch1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLTel2))
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLTel1)
                            .addComponent(jTSearch)))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            );
     
            javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
            jPanel6.setLayout(jPanel6Layout);
            jPanel6Layout.setHorizontalGroup(
                jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel6Layout.createSequentialGroup()
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 463, Short.MAX_VALUE)
                        .addComponent(jPanel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGap(18, 18, 18)
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel6Layout.createSequentialGroup()
                            .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jPanel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(jPanel6Layout.createSequentialGroup()
                                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                        .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
            );
            jPanel6Layout.setVerticalGroup(
                jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel6Layout.createSequentialGroup()
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel6Layout.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(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                        .addGroup(jPanel6Layout.createSequentialGroup()
                            .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jPanel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))
                    .addContainerGap())
            );
     
            javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
            jPanel5.setLayout(jPanel5Layout);
            jPanel5Layout.setHorizontalGroup(
                jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel5Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 234, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            );
            jPanel5Layout.setVerticalGroup(
                jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel5Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            );
     
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            );
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(jPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addContainerGap())
            );
     
            bindingGroup.bind();
     
            setBounds(0, 0, 1306, 691);
        }// </editor-fold>                        
     
        private void jTSearch1KeyReleased(java.awt.event.KeyEvent evt) {                                      
     
            dataStatu=false;
     
            try{
                java.sql.Statement stmt1=maConnexion.ObtenirConnexion().createStatement();
                java.sql.ResultSet resultat= stmt1.executeQuery("SELECT Matricule, nom, prenom FROM EMPLOYE where prenom LIKE '" + jTSearch1.getText().trim() + "%'");
                jTable1.setModel(DbUtils.resultSetToTableModel(resultat));
     
            }catch(Exception e){
     
            }
            // TODO add your handling code here:
        }                                     
     
        private void jTSearch1ActionPerformed(java.awt.event.ActionEvent evt) {                                          
            // TODO add your handling code here:
        }                                         
     
        private void jTSearchKeyReleased(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
     
            dataStatu=false;
     
            try{
                java.sql.Statement stmt1=maConnexion.ObtenirConnexion().createStatement();
                java.sql.ResultSet resultat= stmt1.executeQuery("SELECT Matricule, nom, prenom FROM EMPLOYE where nom LIKE '" + jTSearch.getText().trim() + "%'");
                jTable1.setModel(DbUtils.resultSetToTableModel(resultat));
     
            }catch(Exception e){
     
            }
     
        }                                    
     
        private void jTSearchActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        private void jSupprimerActionPerformed(java.awt.event.ActionEvent evt) {                                           
            // TODO add your handling code here
     
        }                                          
     
        private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        private void jTVarLibre6KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre6ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTVarLibre5KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre5ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTVarLibre4KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre4ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTVarLibre3KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre3ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTVarLibre2KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre2ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTVarLibre1KeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
        }                                    
     
        private void jTVarLibre1ActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTLieuNaisKeyTyped(java.awt.event.KeyEvent evt) {                                    
            // TODO add your handling code here:
        }                                   
     
        private void jTLieuNaisActionPerformed(java.awt.event.ActionEvent evt) {                                           
            // TODO add your handling code here:
        }                                          
     
        private void jCSexeActionPerformed(java.awt.event.ActionEvent evt) {                                       
            // TODO add your handling code here:
        }                                      
     
        private void jTMatriculeKeyTyped(java.awt.event.KeyEvent evt) {                                     
            // TODO add your handling code here:
     
            char c=evt.getKeyChar();
            if(Character.isDigit(c) || (c==KeyEvent.VK_BACK_SPACE) || c==KeyEvent.VK_DELETE){
                evt.consume();
            }
     
        }                                    
     
        private void jTMatriculeActionPerformed(java.awt.event.ActionEvent evt) {                                            
            // TODO add your handling code here:
        }                                           
     
        private void jTNomKeyTyped(java.awt.event.KeyEvent evt) {                               
            // TODO add your handling code here:
     
            char c=evt.getKeyChar();
            if(Character.isDigit(c) || (c==KeyEvent.VK_BACK_SPACE) || c==KeyEvent.VK_DELETE){
                evt.consume();
            }
     
        }                              
     
        private void jTNomActionPerformed(java.awt.event.ActionEvent evt) {                                      
            // TODO add your handling code here:
        }                                     
     
        private void jTPrenomKeyTyped(java.awt.event.KeyEvent evt) {                                  
            // TODO add your handling code here:
            char c=evt.getKeyChar();
            if(Character.isDigit(c) || (c==KeyEvent.VK_BACK_SPACE) || c==KeyEvent.VK_DELETE){
                evt.consume();
            }
        }                                 
     
        private void jTPrenomActionPerformed(java.awt.event.ActionEvent evt) {                                         
            // TODO add your handling code here:
        }                                        
     
        private void jTMaritalKeyTyped(java.awt.event.KeyEvent evt) {                                   
            // TODO add your handling code here:
     
            char c=evt.getKeyChar();
            if(Character.isDigit(c) || (c==KeyEvent.VK_BACK_SPACE) || c==KeyEvent.VK_DELETE){
                evt.consume();
            }
     
        }                                  
     
        private void jTMaritalActionPerformed(java.awt.event.ActionEvent evt) {                                          
            // TODO add your handling code here:
        }                                         
     
        private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {                                     
            // TODO add your handling code here:
     
            dataStatu=false;
            try{
                stmt =maConnexion.ObtenirConnexion().createStatement();
     
                int row=jTable1.getSelectedRow();
                String table1_click=(jTable1.getModel().getValueAt(row,0).toString());
                java.sql.Statement stmt1=maConnexion.ObtenirConnexion().createStatement();
                java.sql.ResultSet resultat= stmt1.executeQuery("SELECT * FROM EMPLOYE WHERE matricule='"+table1_click+"'");
                //Update combobox
     
                if(resultat.next()){
                    jTMatricule.setText(resultat.getString("matricule"));
                    jTNom.setText(resultat.getString("nom"));
                    jTPrenom.setText(resultat.getString("prenom"));
                    jTDateNais.setDate(resultat.getDate("datenais"));
                    jTLieuNais.setText(resultat.getString("lieunais"));
                    jTVarLibre1.setText(resultat.getString("VarLibre1"));
                    jTVarLibre2.setText(resultat.getString("VarLibre2"));
                    jTVarLibre3.setText(resultat.getString("VarLibre3"));
                    jTVarLibre4.setText(resultat.getString("VarLibre4"));
                    jTVarLibre5.setText(resultat.getString("VarLibre5"));
                    jTVarLibre6.setText(resultat.getString("VarLibre6"));
                    jCSexe.setSelectedItem(resultat.getString("sexe"));
                    jCTitre.setSelectedItem(resultat.getString("titre"));
                    jCPaysNationalite.setSelectedItem(resultat.getString("paysNationalite"));
                    jCPaysNaissance.setSelectedItem(resultat.getString("paysNaissance"));
                    jCcrit1.setSelectedItem(resultat.getString("crit1"));
                    jCcrit2.setSelectedItem(resultat.getString("crit2"));
                    jCcrit3.setSelectedItem(resultat.getString("crit3"));
                    jCcrit4.setSelectedItem(resultat.getString("crit4"));
                    jCcrit5.setSelectedItem(resultat.getString("crit5"));
                    jCcrit6.setSelectedItem(resultat.getString("crit6"));
                    jCcrit7.setSelectedItem(resultat.getString("crit7"));
                    jCcrit8.setSelectedItem(resultat.getString("crit8"));
                    jCcrit9.setSelectedItem(resultat.getString("crit9"));
                    jCcrit10.setSelectedItem(resultat.getString("crit10"));
                    jCcrit11.setSelectedItem(resultat.getString("crit11"));
                    jCcrit12.setSelectedItem(resultat.getString("crit12"));
     
                }
     
            }catch(SQLException e){
     
            }
     
        }                                    
     
        private void jCcrit1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
            // TODO add your handling code here:
        }                                       
     
        private void jCcritx1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
     
     
            // TODO add your handling code here:
        }                                        
     
     
        private void UpdateComboTitre() { 
            try{
        java.sql.Statement stmt1=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboTitre=stmt1.executeQuery("SELECT * FROM crit_elem WHERE numCrit='1'"); 
     
        while(comboTitre.next()){
          String titr=comboTitre.getString("libelle");
                   jCTitre.addItem(titr);                        
               }    
                }catch(SQLException e){
            }            
                }
     
        private void UpdateComboPaysNationalite() { 
            try{
        java.sql.Statement stmt2=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboPaysNationalite=stmt2.executeQuery("SELECT * FROM crit_elem WHERE numCrit='2'"); 
     
        while(comboPaysNationalite.next()){
          String titr=comboPaysNationalite.getString("libelle");
                   jCPaysNationalite.addItem(titr);                        
               }    
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboPaysNaissance() { 
            try{
        java.sql.Statement stmt3=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboPaysNaissance=stmt3.executeQuery("SELECT * FROM crit_elem WHERE numCrit='2'"); 
     
        while(comboPaysNaissance.next()){
          String titr=comboPaysNaissance.getString("libelle");
                   jCPaysNaissance.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboSexe() { 
            try{
        java.sql.Statement stmt4=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboSexe=stmt4.executeQuery("SELECT * FROM crit_elem WHERE numCrit='3'"); 
     
        while(comboSexe.next()){
          String titr=comboSexe.getString("libelle");
                   jCSexe.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit1() { 
            try{
        java.sql.Statement stmt5=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit1=stmt5.executeQuery("SELECT * FROM crit_elem WHERE numCrit='30'"); 
     
        while(comboCrit1.next()){
          String titr=comboCrit1.getString("libelle");
                   jCcrit1.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit2() { 
            try{
        java.sql.Statement stmt6=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit2=stmt6.executeQuery("SELECT * FROM crit_elem WHERE numCrit='31'"); 
     
        while(comboCrit2.next()){
          String titr=comboCrit2.getString("libelle");
                   jCcrit2.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit3() { 
            try{
        java.sql.Statement stmt7=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit3=stmt7.executeQuery("SELECT * FROM crit_elem WHERE numCrit='32'"); 
     
        while(comboCrit3.next()){
          String titr=comboCrit3.getString("libelle");
                   jCcrit3.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
     
         private void UpdateComboCrit4() { 
            try{
        java.sql.Statement stmt8=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit4=stmt8.executeQuery("SELECT * FROM crit_elem WHERE numCrit='33'"); 
     
        while(comboCrit4.next()){
          String titr=comboCrit4.getString("libelle");
                   jCcrit4.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit5() { 
            try{
        java.sql.Statement stmt9=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit5=stmt9.executeQuery("SELECT * FROM crit_elem WHERE numCrit='34'"); 
     
        while(comboCrit5.next()){
          String titr=comboCrit5.getString("libelle");
                   jCcrit5.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
     
         private void UpdateComboCrit6() { 
            try{
        java.sql.Statement stmt10=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit6=stmt10.executeQuery("SELECT * FROM crit_elem WHERE numCrit='35'"); 
     
        while(comboCrit6.next()){
          String titr=comboCrit6.getString("libelle");
                   jCcrit6.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
     
         private void UpdateComboCrit7() { 
            try{
        java.sql.Statement stmt11=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit7=stmt11.executeQuery("SELECT * FROM crit_elem WHERE numCrit='36'"); 
     
        while(comboCrit7.next()){
          String titr=comboCrit7.getString("libelle");
                   jCcrit7.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit8() { 
            try{
        java.sql.Statement stmt12=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit8=stmt12.executeQuery("SELECT * FROM crit_elem WHERE numCrit='37'"); 
     
        while(comboCrit8.next()){
          String titr=comboCrit8.getString("libelle");
                   jCcrit8.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit9() { 
            try{
        java.sql.Statement stmt13=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit9=stmt13.executeQuery("SELECT * FROM crit_elem WHERE numCrit='38'"); 
     
        while(comboCrit9.next()){
          String titr=comboCrit9.getString("libelle");
                   jCcrit9.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit10() { 
            try{
        java.sql.Statement stmt14=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit10=stmt14.executeQuery("SELECT * FROM crit_elem WHERE numCrit='39'"); 
     
        while(comboCrit10.next()){
          String titr=comboCrit10.getString("libelle");
                   jCcrit10.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit11() { 
            try{
        java.sql.Statement stmt15=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit11=stmt15.executeQuery("SELECT * FROM crit_elem WHERE numCrit='40'"); 
     
        while(comboCrit11.next()){
          String titr=comboCrit11.getString("libelle");
                   jCcrit11.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
         private void UpdateComboCrit12() { 
            try{
        java.sql.Statement stmt16=maConnexion.ObtenirConnexion().createStatement();
        java.sql.ResultSet comboCrit12=stmt16.executeQuery("SELECT * FROM crit_elem WHERE numCrit='41'"); 
     
        while(comboCrit12.next()){
          String titr=comboCrit12.getString("libelle");
                   jCcrit12.addItem(titr);                        
               }  
                }catch(SQLException e){
            }          
                }
     
     
        /**
         * @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(screationGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
            } catch (InstantiationException ex) {
                java.util.logging.Logger.getLogger(screationGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
            } catch (IllegalAccessException ex) {
                java.util.logging.Logger.getLogger(screationGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
            } catch (javax.swing.UnsupportedLookAndFeelException ex) {
                java.util.logging.Logger.getLogger(screationGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
            }
            //</editor-fold>
     
            /* Create and display the form */
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new screationGUI().setVisible(true);
                }
            });
        }
     
        // Variables declaration - do not modify                     
        private javax.swing.ButtonGroup buttonGroup1;
        private javax.swing.ButtonGroup buttonGroup2;
        private javax.swing.ButtonGroup buttonGroup3;
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton4;
        private javax.swing.JButton jButton5;
        private javax.swing.JComboBox<String> jCPaysNaissance;
        private javax.swing.JComboBox<String> jCPaysNationalite;
        private javax.swing.JComboBox<String> jCSexe;
        private javax.swing.JComboBox<String> jCTitre;
        private javax.swing.JComboBox<String> jCcrit1;
        private javax.swing.JComboBox<String> jCcrit10;
        private javax.swing.JComboBox<String> jCcrit11;
        private javax.swing.JComboBox<String> jCcrit12;
        private javax.swing.JComboBox<String> jCcrit2;
        private javax.swing.JComboBox<String> jCcrit3;
        private javax.swing.JComboBox<String> jCcrit4;
        private javax.swing.JComboBox<String> jCcrit5;
        private javax.swing.JComboBox<String> jCcrit6;
        private javax.swing.JComboBox<String> jCcrit7;
        private javax.swing.JComboBox<String> jCcrit8;
        private javax.swing.JComboBox<String> jCcrit9;
        private javax.swing.JComboBox<String> jCcritx1;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem2;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem3;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem4;
        private javax.swing.JLabel jLDateNais;
        private javax.swing.JLabel jLLieuNais;
        private javax.swing.JLabel jLNationalite;
        private javax.swing.JLabel jLNationalite1;
        private javax.swing.JLabel jLNom;
        private javax.swing.JLabel jLNom10;
        private javax.swing.JLabel jLNom11;
        private javax.swing.JLabel jLNom12;
        private javax.swing.JLabel jLNom13;
        private javax.swing.JLabel jLNom14;
        private javax.swing.JLabel jLNom15;
        private javax.swing.JLabel jLNom16;
        private javax.swing.JLabel jLNom2;
        private javax.swing.JLabel jLNom3;
        private javax.swing.JLabel jLNom4;
        private javax.swing.JLabel jLNom5;
        private javax.swing.JLabel jLNom6;
        private javax.swing.JLabel jLNom7;
        private javax.swing.JLabel jLNom8;
        private javax.swing.JLabel jLNom9;
        private javax.swing.JLabel jLSexe;
        private javax.swing.JLabel jLTel1;
        private javax.swing.JLabel jLTel2;
        private javax.swing.JLabel jLTitre;
        private javax.swing.JLabel jLVarLibre1;
        private javax.swing.JLabel jLVarLibre2;
        private javax.swing.JLabel jLVarLibre3;
        private javax.swing.JLabel jLVarLibre4;
        private javax.swing.JLabel jLVarLibre5;
        private javax.swing.JLabel jLVarLibre6;
        private javax.swing.JLabel jLabel5;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel10;
        private javax.swing.JPanel jPanel11;
        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.JRadioButtonMenuItem jRadioButtonMenuItem1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JButton jSupprimer;
        private com.toedter.calendar.JDateChooser jTDateNais;
        private javax.swing.JTextField jTLieuNais;
        private javax.swing.JTextField jTMarital;
        private javax.swing.JTextField jTMatricule;
        private javax.swing.JTextField jTNom;
        private javax.swing.JTextField jTPrenom;
        private javax.swing.JTextField jTSearch;
        private javax.swing.JTextField jTSearch1;
        private javax.swing.JTextField jTVarLibre1;
        private javax.swing.JTextField jTVarLibre2;
        private javax.swing.JTextField jTVarLibre3;
        private javax.swing.JTextField jTVarLibre4;
        private javax.swing.JTextField jTVarLibre5;
        private javax.swing.JTextField jTVarLibre6;
        private javax.swing.JTable jTable1;
        private org.jdesktop.beansbinding.BindingGroup bindingGroup;
        // End of variables declaration                   
    }

  2. #2
    Membre averti
    Homme Profil pro
    Architecte technique
    Inscrit en
    Mai 2020
    Messages
    325
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Belgique

    Informations professionnelles :
    Activité : Architecte technique

    Informations forums :
    Inscription : Mai 2020
    Messages : 325
    Points : 436
    Points
    436
    Par défaut
    Bonjour,

    C'est un peu étrange de vouloir ajouter une case à cocher dans une JComboBox qui n'accepte qu'une seule sélection. Mais le plus simple et de fournir un renderer qui va retourner un JCheckbox.

    https://docs.oracle.com/javase/tutor....html#renderer

  3. #3
    Candidat au Club
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2012
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Lycéen
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2012
    Messages : 5
    Points : 4
    Points
    4
    Par défaut ckeckbox-multiple-java
    Citation Envoyé par gervais.b Voir le message
    Bonjour,

    C'est un peu étrange de vouloir ajouter une case à cocher dans une JComboBox qui n'accepte qu'une seule sélection. Mais le plus simple et de fournir un renderer qui va retourner un JCheckbox.

    https://docs.oracle.com/javase/tutor....html#renderer
    Bonjour,
    merci pour votre réponse.
    Je vais parcourir le lien que vous m'avez envoyer.

    Bonsoir.
    pour mieux vous expliquer, voici en image le genre de sélection que je souhaite faire.Nom : gyIy7.png
Affichages : 126
Taille : 2,6 Ko

  4. #4
    Candidat au Club
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2012
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Lycéen
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2012
    Messages : 5
    Points : 4
    Points
    4
    Par défaut ckeckbox-multiple-java
    Bonjour tout le monde.
    Je galère toujours en cherchant une solution pour réaliser un checkComboBax sous java.
    quelqu'un a une idée pour moi?

    Merci d'avance

  5. #5
    Membre averti
    Homme Profil pro
    Architecte technique
    Inscrit en
    Mai 2020
    Messages
    325
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Belgique

    Informations professionnelles :
    Activité : Architecte technique

    Informations forums :
    Inscription : Mai 2020
    Messages : 325
    Points : 436
    Points
    436
    Par défaut
    Avez vous essayé la solution du renderer proposée plus haut ?

  6. #6
    Candidat au Club
    Homme Profil pro
    Lycéen
    Inscrit en
    Mars 2012
    Messages
    5
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Lycéen
    Secteur : Industrie

    Informations forums :
    Inscription : Mars 2012
    Messages : 5
    Points : 4
    Points
    4
    Par défaut
    Bonjour,

    j'ai pas encore eu la solution

  7. #7
    Membre averti
    Homme Profil pro
    Architecte technique
    Inscrit en
    Mai 2020
    Messages
    325
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Belgique

    Informations professionnelles :
    Activité : Architecte technique

    Informations forums :
    Inscription : Mai 2020
    Messages : 325
    Points : 436
    Points
    436
    Par défaut
    Vous n'avez pas du lire la documentation, la solution tient en quelques lignes:

    Nom : Screenshot from 2020-11-13 15-48-33.png
Affichages : 124
Taille : 18,6 Ko

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    import javax.swing.*;
    import java.awt.*;
     
    public class JCheckBoxRenderer implements ListCellRenderer<String> {
     
        public static void main(String[] args) {
            JComboBox<String> jComboBox = new JComboBox<>(new String[]{"Quadratic", "Cubic", "Exponential", "Logarithmic"});
            jComboBox.setSelectedIndex(0);
     
            jComboBox.setRenderer(new JCheckBoxRenderer()); // <---- Tadaaaa
     
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            frame.getContentPane().add(jComboBox, BorderLayout.CENTER);
            frame.pack();
            frame.setVisible(true);
        }
     
     
        // ~ ------------------------------------------------------------------- ~ //
     
     
        private final JCheckBox stamp = new JCheckBox("");
     
        @Override
        public Component getListCellRendererComponent(JList<? extends String> list, String value, int index, boolean isSelected, boolean cellHasFocus) {
            stamp.setText(value);
            stamp.setSelected(isSelected);
            if ( isSelected ) {
                stamp.setBackground(list.getSelectionBackground());
                stamp.setForeground(list.getSelectionForeground());
            } else {
                stamp.setBackground(list.getBackground());
                stamp.setForeground(list.getForeground());
            }
            return stamp;
        }
    }

Discussions similaires

  1. Réponses: 0
    Dernier message: 13/07/2010, 16h26
  2. Réponses: 1
    Dernier message: 30/03/2005, 14h03
  3. Problème d'ajout multiples dans un BDD Access
    Par arnaud_verlaine dans le forum Langage SQL
    Réponses: 3
    Dernier message: 31/05/2004, 13h34
  4. [PROPERTIES] Bug dans java.util.Properties ?
    Par mathieu dans le forum Collection et Stream
    Réponses: 6
    Dernier message: 28/04/2004, 15h11
  5. Comment generer un fichier war dans java
    Par relivio dans le forum ANT
    Réponses: 4
    Dernier message: 12/03/2004, 13h43

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo