瀏覽代碼

correction de bug

PCYoshi 9 年之前
父節點
當前提交
0aeb9093b7

+ 40
- 171
java/.idea/workspace.xml 查看文件

@@ -7,18 +7,11 @@
7 7
   </component>
8 8
   <component name="ChangeListManager">
9 9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
10
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" />
11
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
12
-      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/artifacts/java_jar.xml" />
13
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" />
14
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionReponses.class" afterPath="$PROJECT_DIR$/out/production/java/GestionReponses.class" />
15 10
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" />
16 11
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
17 12
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
18
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" />
19
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBDD.java" afterPath="$PROJECT_DIR$/src/ConnexionBDD.java" />
20
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/GestionReponses.java" afterPath="$PROJECT_DIR$/src/GestionReponses.java" />
21 13
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
14
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" afterPath="$PROJECT_DIR$/src/META-INF/MANIFEST.MF" />
22 15
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
23 16
     </list>
24 17
     <ignored path="java.iws" />
@@ -41,14 +34,13 @@
41 34
   </component>
42 35
   <component name="FileEditorManager">
43 36
     <leaf>
44
-      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
37
+      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="false">
45 38
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
46 39
           <provider selected="true" editor-type-id="text-editor">
47
-            <state vertical-scroll-proportion="0.5386819">
48
-              <caret line="368" column="13" selection-start-line="368" selection-start-column="13" selection-end-line="368" selection-end-column="13" />
40
+            <state vertical-scroll-proportion="0.0">
41
+              <caret line="374" column="16" selection-start-line="374" selection-start-column="16" selection-end-line="374" selection-end-column="16" />
49 42
               <folding>
50 43
                 <element signature="imports" expanded="true" />
51
-                <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
52 44
               </folding>
53 45
             </state>
54 46
           </provider>
@@ -88,7 +80,7 @@
88 80
         <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
89 81
           <provider selected="true" editor-type-id="text-editor">
90 82
             <state vertical-scroll-proportion="0.0">
91
-              <caret line="20" column="31" selection-start-line="20" selection-start-column="31" selection-end-line="20" selection-end-column="31" />
83
+              <caret line="28" column="30" selection-start-line="28" selection-start-column="30" selection-end-line="28" selection-end-column="30" />
92 84
               <folding>
93 85
                 <element signature="imports" expanded="true" />
94 86
                 <element signature="e#996#997#0" expanded="true" />
@@ -119,7 +111,7 @@
119 111
           </provider>
120 112
         </entry>
121 113
       </file>
122
-      <file leaf-file-name="mcd.png" pinned="false" current-in-tab="false">
114
+      <file leaf-file-name="mcd.png" pinned="false" current-in-tab="true">
123 115
         <entry file="file://$PROJECT_DIR$/mcd.png">
124 116
           <provider selected="true" editor-type-id="images">
125 117
             <state />
@@ -280,9 +272,8 @@
280 272
       <sortByType />
281 273
     </navigator>
282 274
     <panes>
283
-      <pane id="PackagesPane" />
284
-      <pane id="Scratches" />
285 275
       <pane id="Scope" />
276
+      <pane id="PackagesPane" />
286 277
       <pane id="ProjectPane">
287 278
         <subPane>
288 279
           <PATH>
@@ -317,6 +308,7 @@
317 308
           </PATH>
318 309
         </subPane>
319 310
       </pane>
311
+      <pane id="Scratches" />
320 312
     </panes>
321 313
   </component>
322 314
   <component name="PropertiesComponent">
@@ -344,119 +336,6 @@
344 336
       <recent name="" />
345 337
     </key>
346 338
   </component>
347
-  <component name="RestoreUpdateTree" date="Moments ago" ActionInfo="_Update">
348
-    <UpdatedFiles>
349
-      <FILE-GROUP>
350
-        <option name="myUpdateName" value="Updated from server" />
351
-        <option name="myStatusName" value="Changed on server" />
352
-        <option name="mySupportsDeletion" value="false" />
353
-        <option name="myCanBeAbsent" value="false" />
354
-        <option name="myId" value="CHANGED_ON_SERVER" />
355
-        <FILE-GROUP>
356
-          <option name="myUpdateName" value="Updated" />
357
-          <option name="myStatusName" value="Changed" />
358
-          <option name="mySupportsDeletion" value="false" />
359
-          <option name="myCanBeAbsent" value="false" />
360
-          <option name="myId" value="UPDATED" />
361
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/controller/questions.php</PATH>
362
-        </FILE-GROUP>
363
-        <FILE-GROUP>
364
-          <option name="myUpdateName" value="Created" />
365
-          <option name="myStatusName" value="Created" />
366
-          <option name="mySupportsDeletion" value="false" />
367
-          <option name="myCanBeAbsent" value="false" />
368
-          <option name="myId" value="CREATED" />
369
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/index.htm</PATH>
370
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/jquery-2.1.4.min.js</PATH>
371
-          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/js/game.js</PATH>
372
-        </FILE-GROUP>
373
-        <FILE-GROUP>
374
-          <option name="myUpdateName" value="Deleted" />
375
-          <option name="myStatusName" value="Deleted" />
376
-          <option name="mySupportsDeletion" value="false" />
377
-          <option name="myCanBeAbsent" value="true" />
378
-          <option name="myId" value="REMOVED_FROM_REPOSITORY" />
379
-        </FILE-GROUP>
380
-        <FILE-GROUP>
381
-          <option name="myUpdateName" value="Restored" />
382
-          <option name="myStatusName" value="Will be restored" />
383
-          <option name="mySupportsDeletion" value="false" />
384
-          <option name="myCanBeAbsent" value="false" />
385
-          <option name="myId" value="RESTORED" />
386
-        </FILE-GROUP>
387
-      </FILE-GROUP>
388
-      <FILE-GROUP>
389
-        <option name="myUpdateName" value="Modified" />
390
-        <option name="myStatusName" value="Modified" />
391
-        <option name="mySupportsDeletion" value="false" />
392
-        <option name="myCanBeAbsent" value="false" />
393
-        <option name="myId" value="MODIFIED" />
394
-      </FILE-GROUP>
395
-      <FILE-GROUP>
396
-        <option name="myUpdateName" value="Skipped" />
397
-        <option name="myStatusName" value="Skipped" />
398
-        <option name="mySupportsDeletion" value="false" />
399
-        <option name="myCanBeAbsent" value="false" />
400
-        <option name="myId" value="SKIPPED" />
401
-      </FILE-GROUP>
402
-      <FILE-GROUP>
403
-        <option name="myUpdateName" value="Merged with conflicts" />
404
-        <option name="myStatusName" value="Will be merged with conflicts" />
405
-        <option name="mySupportsDeletion" value="false" />
406
-        <option name="myCanBeAbsent" value="false" />
407
-        <option name="myId" value="MERGED_WITH_CONFLICTS" />
408
-      </FILE-GROUP>
409
-      <FILE-GROUP>
410
-        <option name="myUpdateName" value="Merged with tree conflicts" />
411
-        <option name="myStatusName" value="Merged with tree conflicts" />
412
-        <option name="mySupportsDeletion" value="false" />
413
-        <option name="myCanBeAbsent" value="false" />
414
-        <option name="myId" value="MERGED_WITH_TREE_CONFLICT" />
415
-      </FILE-GROUP>
416
-      <FILE-GROUP>
417
-        <option name="myUpdateName" value="Merged with property conflicts" />
418
-        <option name="myStatusName" value="Will be merged with property conflicts" />
419
-        <option name="mySupportsDeletion" value="false" />
420
-        <option name="myCanBeAbsent" value="false" />
421
-        <option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" />
422
-      </FILE-GROUP>
423
-      <FILE-GROUP>
424
-        <option name="myUpdateName" value="Merged" />
425
-        <option name="myStatusName" value="Will be merged" />
426
-        <option name="mySupportsDeletion" value="false" />
427
-        <option name="myCanBeAbsent" value="false" />
428
-        <option name="myId" value="MERGED" />
429
-      </FILE-GROUP>
430
-      <FILE-GROUP>
431
-        <option name="myUpdateName" value="Not in repository" />
432
-        <option name="myStatusName" value="Not in repository" />
433
-        <option name="mySupportsDeletion" value="true" />
434
-        <option name="myCanBeAbsent" value="false" />
435
-        <option name="myId" value="UNKNOWN" />
436
-      </FILE-GROUP>
437
-      <FILE-GROUP>
438
-        <option name="myUpdateName" value="Locally added" />
439
-        <option name="myStatusName" value="Locally added" />
440
-        <option name="mySupportsDeletion" value="false" />
441
-        <option name="myCanBeAbsent" value="false" />
442
-        <option name="myId" value="LOCALLY_ADDED" />
443
-      </FILE-GROUP>
444
-      <FILE-GROUP>
445
-        <option name="myUpdateName" value="Locally removed" />
446
-        <option name="myStatusName" value="Locally removed" />
447
-        <option name="mySupportsDeletion" value="false" />
448
-        <option name="myCanBeAbsent" value="false" />
449
-        <option name="myId" value="LOCALLY_REMOVED" />
450
-      </FILE-GROUP>
451
-      <FILE-GROUP>
452
-        <option name="myUpdateName" value="Switched" />
453
-        <option name="myStatusName" value="Switched" />
454
-        <option name="mySupportsDeletion" value="false" />
455
-        <option name="myCanBeAbsent" value="false" />
456
-        <option name="myId" value="SWITCHED" />
457
-      </FILE-GROUP>
458
-    </UpdatedFiles>
459
-  </component>
460 339
   <component name="RunManager" selected="Application.Main">
461 340
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
462 341
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
@@ -700,7 +579,13 @@
700 579
       <option name="project" value="LOCAL" />
701 580
       <updated>1432894061411</updated>
702 581
     </task>
703
-    <option name="localTasksCounter" value="14" />
582
+    <task id="LOCAL-00014" summary="++">
583
+      <created>1432912975055</created>
584
+      <option name="number" value="00014" />
585
+      <option name="project" value="LOCAL" />
586
+      <updated>1432912975055</updated>
587
+    </task>
588
+    <option name="localTasksCounter" value="15" />
704 589
     <servers />
705 590
   </component>
706 591
   <component name="TodoView">
@@ -714,7 +599,7 @@
714 599
   </component>
715 600
   <component name="ToolWindowManager">
716 601
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
717
-    <editor active="true" />
602
+    <editor active="false" />
718 603
     <layout>
719 604
       <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
720 605
       <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
@@ -725,7 +610,7 @@
725 610
       <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3996479" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
726 611
       <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5030441" order="7" side_tool="true" content_ui="tabs" />
727 612
       <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
728
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32864675" sideWeight="0.49695587" order="7" side_tool="false" content_ui="tabs" />
613
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32864675" sideWeight="0.49695587" order="7" side_tool="false" content_ui="tabs" />
729 614
       <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32864675" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
730 615
       <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
731 616
       <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
@@ -737,8 +622,8 @@
737 622
       <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
738 623
       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
739 624
       <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
740
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
741 625
       <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
626
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
742 627
     </layout>
743 628
   </component>
744 629
   <component name="Vcs.Log.UiProperties">
@@ -765,14 +650,15 @@
765 650
     <MESSAGE value="selection categorie fonctionelle" />
766 651
     <MESSAGE value="java: gestion categorie operationelle" />
767 652
     <MESSAGE value="java: gestion categorie operationelle et ergonomique" />
768
-    <option name="LAST_COMMIT_MESSAGE" value="java: gestion categorie operationelle et ergonomique" />
653
+    <MESSAGE value="++" />
654
+    <option name="LAST_COMMIT_MESSAGE" value="++" />
769 655
   </component>
770 656
   <component name="XDebuggerManager">
771 657
     <breakpoint-manager>
772 658
       <breakpoints>
773 659
         <line-breakpoint enabled="true" type="java-line">
774 660
           <url>file://$PROJECT_DIR$/src/InterfacePrincipale.java</url>
775
-          <line>282</line>
661
+          <line>283</line>
776 662
           <properties />
777 663
           <option name="timeStamp" value="3" />
778 664
         </line-breakpoint>
@@ -830,7 +716,6 @@
830 716
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
831 717
           <folding>
832 718
             <element signature="imports" expanded="true" />
833
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
834 719
           </folding>
835 720
         </state>
836 721
       </provider>
@@ -865,7 +750,6 @@
865 750
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
866 751
           <folding>
867 752
             <element signature="imports" expanded="true" />
868
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
869 753
           </folding>
870 754
         </state>
871 755
       </provider>
@@ -900,7 +784,6 @@
900 784
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
901 785
           <folding>
902 786
             <element signature="imports" expanded="true" />
903
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
904 787
           </folding>
905 788
         </state>
906 789
       </provider>
@@ -935,7 +818,6 @@
935 818
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
936 819
           <folding>
937 820
             <element signature="imports" expanded="true" />
938
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
939 821
           </folding>
940 822
         </state>
941 823
       </provider>
@@ -970,7 +852,6 @@
970 852
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
971 853
           <folding>
972 854
             <element signature="imports" expanded="true" />
973
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
974 855
           </folding>
975 856
         </state>
976 857
       </provider>
@@ -1026,7 +907,6 @@
1026 907
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1027 908
           <folding>
1028 909
             <element signature="imports" expanded="true" />
1029
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1030 910
           </folding>
1031 911
         </state>
1032 912
       </provider>
@@ -1089,16 +969,6 @@
1089 969
       <provider selected="true" editor-type-id="text-editor">
1090 970
         <state vertical-scroll-proportion="0.0">
1091 971
           <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
1092
-          <folding>
1093
-            <element signature="e#80#81#0" expanded="true" />
1094
-            <element signature="e#101#102#0" expanded="true" />
1095
-            <element signature="e#128#129#0" expanded="true" />
1096
-            <element signature="e#145#146#0" expanded="true" />
1097
-            <element signature="e#180#181#0" expanded="true" />
1098
-            <element signature="e#201#202#0" expanded="true" />
1099
-            <element signature="e#230#231#0" expanded="true" />
1100
-            <element signature="e#247#248#0" expanded="true" />
1101
-          </folding>
1102 972
         </state>
1103 973
       </provider>
1104 974
     </entry>
@@ -1116,11 +986,6 @@
1116 986
         </state>
1117 987
       </provider>
1118 988
     </entry>
1119
-    <entry file="file://$PROJECT_DIR$/mcd.png">
1120
-      <provider selected="true" editor-type-id="images">
1121
-        <state />
1122
-      </provider>
1123
-    </entry>
1124 989
     <entry file="file://$PROJECT_DIR$/src/Reponses.java">
1125 990
       <provider selected="true" editor-type-id="text-editor">
1126 991
         <state vertical-scroll-proportion="0.0">
@@ -1140,18 +1005,6 @@
1140 1005
         </state>
1141 1006
       </provider>
1142 1007
     </entry>
1143
-    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
1144
-      <provider selected="true" editor-type-id="text-editor">
1145
-        <state vertical-scroll-proportion="0.0">
1146
-          <caret line="20" column="31" selection-start-line="20" selection-start-column="31" selection-end-line="20" selection-end-column="31" />
1147
-          <folding>
1148
-            <element signature="imports" expanded="true" />
1149
-            <element signature="e#996#997#0" expanded="true" />
1150
-            <element signature="e#1022#1023#0" expanded="true" />
1151
-          </folding>
1152
-        </state>
1153
-      </provider>
1154
-    </entry>
1155 1008
     <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
1156 1009
       <provider selected="true" editor-type-id="text-editor">
1157 1010
         <state vertical-scroll-proportion="0.0">
@@ -1180,15 +1033,31 @@
1180 1033
     </entry>
1181 1034
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1182 1035
       <provider selected="true" editor-type-id="text-editor">
1183
-        <state vertical-scroll-proportion="0.5386819">
1184
-          <caret line="368" column="13" selection-start-line="368" selection-start-column="13" selection-end-line="368" selection-end-column="13" />
1036
+        <state vertical-scroll-proportion="0.0">
1037
+          <caret line="374" column="16" selection-start-line="374" selection-start-column="16" selection-end-line="374" selection-end-column="16" />
1038
+          <folding>
1039
+            <element signature="imports" expanded="true" />
1040
+          </folding>
1041
+        </state>
1042
+      </provider>
1043
+    </entry>
1044
+    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
1045
+      <provider selected="true" editor-type-id="text-editor">
1046
+        <state vertical-scroll-proportion="0.0">
1047
+          <caret line="28" column="30" selection-start-line="28" selection-start-column="30" selection-end-line="28" selection-end-column="30" />
1185 1048
           <folding>
1186 1049
             <element signature="imports" expanded="true" />
1187
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1050
+            <element signature="e#996#997#0" expanded="true" />
1051
+            <element signature="e#1022#1023#0" expanded="true" />
1188 1052
           </folding>
1189 1053
         </state>
1190 1054
       </provider>
1191 1055
     </entry>
1056
+    <entry file="file://$PROJECT_DIR$/mcd.png">
1057
+      <provider selected="true" editor-type-id="images">
1058
+        <state />
1059
+      </provider>
1060
+    </entry>
1192 1061
   </component>
1193 1062
   <component name="masterDetails">
1194 1063
     <states>

二進制
java/out/production/java/InterfacePrincipale$PanCategoriesListener.class 查看文件


二進制
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class 查看文件


二進制
java/out/production/java/InterfacePrincipale$PanReponsesListener.class 查看文件


+ 5
- 1
java/src/InterfacePrincipale.java 查看文件

@@ -279,6 +279,7 @@ public class InterfacePrincipale extends JFrame
279 279
 
280 280
 	private class PanCategoriesListener implements ActionListener, ListSelectionListener
281 281
 	{
282
+		private boolean b;
282 283
 		public void actionPerformed(ActionEvent e)
283 284
 		{
284 285
 			if(e.getSource() == addC)
@@ -371,7 +372,10 @@ public class InterfacePrincipale extends JFrame
371 372
 
372 373
 		public void valueChanged(ListSelectionEvent e)
373 374
 		{
374
-			listR.setListData(bdd.getListeReponses(listC.getSelectedValue().toString()).toArray());
375
+			if(!listC.isSelectionEmpty())
376
+			{
377
+				listR.setListData(bdd.getListeReponses(listC.getSelectedValue().toString()).toArray());
378
+			}
375 379
 		}
376 380
 	}
377 381