Browse Source

correction de bug

PCYoshi 9 years ago
parent
commit
0aeb9093b7

+ 40
- 171
java/.idea/workspace.xml View File

7
   </component>
7
   </component>
8
   <component name="ChangeListManager">
8
   <component name="ChangeListManager">
9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
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
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" />
10
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" />
16
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
11
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
17
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
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
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
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
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
15
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
23
     </list>
16
     </list>
24
     <ignored path="java.iws" />
17
     <ignored path="java.iws" />
41
   </component>
34
   </component>
42
   <component name="FileEditorManager">
35
   <component name="FileEditorManager">
43
     <leaf>
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
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
38
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
46
           <provider selected="true" editor-type-id="text-editor">
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
               <folding>
42
               <folding>
50
                 <element signature="imports" expanded="true" />
43
                 <element signature="imports" expanded="true" />
51
-                <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
52
               </folding>
44
               </folding>
53
             </state>
45
             </state>
54
           </provider>
46
           </provider>
88
         <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
80
         <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
89
           <provider selected="true" editor-type-id="text-editor">
81
           <provider selected="true" editor-type-id="text-editor">
90
             <state vertical-scroll-proportion="0.0">
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
               <folding>
84
               <folding>
93
                 <element signature="imports" expanded="true" />
85
                 <element signature="imports" expanded="true" />
94
                 <element signature="e#996#997#0" expanded="true" />
86
                 <element signature="e#996#997#0" expanded="true" />
119
           </provider>
111
           </provider>
120
         </entry>
112
         </entry>
121
       </file>
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
         <entry file="file://$PROJECT_DIR$/mcd.png">
115
         <entry file="file://$PROJECT_DIR$/mcd.png">
124
           <provider selected="true" editor-type-id="images">
116
           <provider selected="true" editor-type-id="images">
125
             <state />
117
             <state />
280
       <sortByType />
272
       <sortByType />
281
     </navigator>
273
     </navigator>
282
     <panes>
274
     <panes>
283
-      <pane id="PackagesPane" />
284
-      <pane id="Scratches" />
285
       <pane id="Scope" />
275
       <pane id="Scope" />
276
+      <pane id="PackagesPane" />
286
       <pane id="ProjectPane">
277
       <pane id="ProjectPane">
287
         <subPane>
278
         <subPane>
288
           <PATH>
279
           <PATH>
317
           </PATH>
308
           </PATH>
318
         </subPane>
309
         </subPane>
319
       </pane>
310
       </pane>
311
+      <pane id="Scratches" />
320
     </panes>
312
     </panes>
321
   </component>
313
   </component>
322
   <component name="PropertiesComponent">
314
   <component name="PropertiesComponent">
344
       <recent name="" />
336
       <recent name="" />
345
     </key>
337
     </key>
346
   </component>
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
   <component name="RunManager" selected="Application.Main">
339
   <component name="RunManager" selected="Application.Main">
461
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
340
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
462
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
341
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
700
       <option name="project" value="LOCAL" />
579
       <option name="project" value="LOCAL" />
701
       <updated>1432894061411</updated>
580
       <updated>1432894061411</updated>
702
     </task>
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
     <servers />
589
     <servers />
705
   </component>
590
   </component>
706
   <component name="TodoView">
591
   <component name="TodoView">
714
   </component>
599
   </component>
715
   <component name="ToolWindowManager">
600
   <component name="ToolWindowManager">
716
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
601
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
717
-    <editor active="true" />
602
+    <editor active="false" />
718
     <layout>
603
     <layout>
719
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
       <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" />
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
     </layout>
627
     </layout>
743
   </component>
628
   </component>
744
   <component name="Vcs.Log.UiProperties">
629
   <component name="Vcs.Log.UiProperties">
765
     <MESSAGE value="selection categorie fonctionelle" />
650
     <MESSAGE value="selection categorie fonctionelle" />
766
     <MESSAGE value="java: gestion categorie operationelle" />
651
     <MESSAGE value="java: gestion categorie operationelle" />
767
     <MESSAGE value="java: gestion categorie operationelle et ergonomique" />
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
   </component>
655
   </component>
770
   <component name="XDebuggerManager">
656
   <component name="XDebuggerManager">
771
     <breakpoint-manager>
657
     <breakpoint-manager>
772
       <breakpoints>
658
       <breakpoints>
773
         <line-breakpoint enabled="true" type="java-line">
659
         <line-breakpoint enabled="true" type="java-line">
774
           <url>file://$PROJECT_DIR$/src/InterfacePrincipale.java</url>
660
           <url>file://$PROJECT_DIR$/src/InterfacePrincipale.java</url>
775
-          <line>282</line>
661
+          <line>283</line>
776
           <properties />
662
           <properties />
777
           <option name="timeStamp" value="3" />
663
           <option name="timeStamp" value="3" />
778
         </line-breakpoint>
664
         </line-breakpoint>
830
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
716
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
831
           <folding>
717
           <folding>
832
             <element signature="imports" expanded="true" />
718
             <element signature="imports" expanded="true" />
833
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
834
           </folding>
719
           </folding>
835
         </state>
720
         </state>
836
       </provider>
721
       </provider>
865
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
750
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
866
           <folding>
751
           <folding>
867
             <element signature="imports" expanded="true" />
752
             <element signature="imports" expanded="true" />
868
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
869
           </folding>
753
           </folding>
870
         </state>
754
         </state>
871
       </provider>
755
       </provider>
900
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
784
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
901
           <folding>
785
           <folding>
902
             <element signature="imports" expanded="true" />
786
             <element signature="imports" expanded="true" />
903
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
904
           </folding>
787
           </folding>
905
         </state>
788
         </state>
906
       </provider>
789
       </provider>
935
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
818
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
936
           <folding>
819
           <folding>
937
             <element signature="imports" expanded="true" />
820
             <element signature="imports" expanded="true" />
938
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
939
           </folding>
821
           </folding>
940
         </state>
822
         </state>
941
       </provider>
823
       </provider>
970
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
852
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
971
           <folding>
853
           <folding>
972
             <element signature="imports" expanded="true" />
854
             <element signature="imports" expanded="true" />
973
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
974
           </folding>
855
           </folding>
975
         </state>
856
         </state>
976
       </provider>
857
       </provider>
1026
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
907
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1027
           <folding>
908
           <folding>
1028
             <element signature="imports" expanded="true" />
909
             <element signature="imports" expanded="true" />
1029
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1030
           </folding>
910
           </folding>
1031
         </state>
911
         </state>
1032
       </provider>
912
       </provider>
1089
       <provider selected="true" editor-type-id="text-editor">
969
       <provider selected="true" editor-type-id="text-editor">
1090
         <state vertical-scroll-proportion="0.0">
970
         <state vertical-scroll-proportion="0.0">
1091
           <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
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
         </state>
972
         </state>
1103
       </provider>
973
       </provider>
1104
     </entry>
974
     </entry>
1116
         </state>
986
         </state>
1117
       </provider>
987
       </provider>
1118
     </entry>
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
     <entry file="file://$PROJECT_DIR$/src/Reponses.java">
989
     <entry file="file://$PROJECT_DIR$/src/Reponses.java">
1125
       <provider selected="true" editor-type-id="text-editor">
990
       <provider selected="true" editor-type-id="text-editor">
1126
         <state vertical-scroll-proportion="0.0">
991
         <state vertical-scroll-proportion="0.0">
1140
         </state>
1005
         </state>
1141
       </provider>
1006
       </provider>
1142
     </entry>
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
     <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
1008
     <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
1156
       <provider selected="true" editor-type-id="text-editor">
1009
       <provider selected="true" editor-type-id="text-editor">
1157
         <state vertical-scroll-proportion="0.0">
1010
         <state vertical-scroll-proportion="0.0">
1180
     </entry>
1033
     </entry>
1181
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1034
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1182
       <provider selected="true" editor-type-id="text-editor">
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
           <folding>
1048
           <folding>
1186
             <element signature="imports" expanded="true" />
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
           </folding>
1052
           </folding>
1189
         </state>
1053
         </state>
1190
       </provider>
1054
       </provider>
1191
     </entry>
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
   </component>
1061
   </component>
1193
   <component name="masterDetails">
1062
   <component name="masterDetails">
1194
     <states>
1063
     <states>

BIN
java/out/production/java/InterfacePrincipale$PanCategoriesListener.class View File


BIN
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class View File


BIN
java/out/production/java/InterfacePrincipale$PanReponsesListener.class View File


+ 5
- 1
java/src/InterfacePrincipale.java View File

279
 
279
 
280
 	private class PanCategoriesListener implements ActionListener, ListSelectionListener
280
 	private class PanCategoriesListener implements ActionListener, ListSelectionListener
281
 	{
281
 	{
282
+		private boolean b;
282
 		public void actionPerformed(ActionEvent e)
283
 		public void actionPerformed(ActionEvent e)
283
 		{
284
 		{
284
 			if(e.getSource() == addC)
285
 			if(e.getSource() == addC)
371
 
372
 
372
 		public void valueChanged(ListSelectionEvent e)
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