소스 검색

java: gestion categorie operationelle et ergonomique

PCYoshi 9 년 전
부모
커밋
97aad81652

+ 206
- 75
java/.idea/workspace.xml 파일 보기

@@ -1,7 +1,16 @@
1 1
 <?xml version="1.0" encoding="UTF-8"?>
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4
-    <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="" />
4
+    <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
5
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" />
6
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionCategories.class" afterPath="$PROJECT_DIR$/out/production/java/GestionCategories.class" />
7
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanCategoriesListener.class" />
8
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
9
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
10
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale.class" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
13
+    </list>
5 14
     <ignored path="java.iws" />
6 15
     <ignored path=".idea/workspace.xml" />
7 16
     <ignored path="$PROJECT_DIR$/out/" />
@@ -22,11 +31,11 @@
22 31
   </component>
23 32
   <component name="FileEditorManager">
24 33
     <leaf>
25
-      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="false">
34
+      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
26 35
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
27 36
           <provider selected="true" editor-type-id="text-editor">
28
-            <state vertical-scroll-proportion="0.0">
29
-              <caret line="49" column="8" selection-start-line="49" selection-start-column="8" selection-end-line="49" selection-end-column="8" />
37
+            <state vertical-scroll-proportion="0.22099447">
38
+              <caret line="340" column="71" selection-start-line="340" selection-start-column="71" selection-end-line="340" selection-end-column="71" />
30 39
               <folding>
31 40
                 <element signature="imports" expanded="true" />
32 41
               </folding>
@@ -34,55 +43,53 @@
34 43
           </provider>
35 44
         </entry>
36 45
       </file>
37
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
38
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
46
+      <file leaf-file-name="Categorie.java" pinned="false" current-in-tab="false">
47
+        <entry file="file://$PROJECT_DIR$/src/Categorie.java">
39 48
           <provider selected="true" editor-type-id="text-editor">
40 49
             <state vertical-scroll-proportion="0.0">
41
-              <caret line="48" column="53" selection-start-line="48" selection-start-column="53" selection-end-line="48" selection-end-column="53" />
50
+              <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
42 51
               <folding>
43
-                <element signature="imports" expanded="true" />
52
+                <element signature="e#80#81#0" expanded="true" />
53
+                <element signature="e#101#102#0" expanded="true" />
44 54
               </folding>
45 55
             </state>
46 56
           </provider>
47 57
         </entry>
48 58
       </file>
49
-      <file leaf-file-name="GestionCategories.java" pinned="false" current-in-tab="true">
50
-        <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
59
+      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
60
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
51 61
           <provider selected="true" editor-type-id="text-editor">
52
-            <state vertical-scroll-proportion="0.03601108">
53
-              <caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
62
+            <state vertical-scroll-proportion="0.0">
63
+              <caret line="63" column="76" selection-start-line="63" selection-start-column="76" selection-end-line="63" selection-end-column="76" />
54 64
               <folding>
55 65
                 <element signature="imports" expanded="true" />
66
+                <element signature="e#1239#1240#0" expanded="true" />
67
+                <element signature="e#1294#1295#0" expanded="true" />
68
+                <element signature="e#1349#1350#0" expanded="true" />
69
+                <element signature="e#1404#1405#0" expanded="true" />
56 70
               </folding>
57 71
             </state>
58 72
           </provider>
59 73
         </entry>
60 74
       </file>
61
-      <file leaf-file-name="GestionReponses.java" pinned="false" current-in-tab="false">
62
-        <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
75
+      <file leaf-file-name="GestionCategories.java" pinned="false" current-in-tab="false">
76
+        <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
63 77
           <provider selected="true" editor-type-id="text-editor">
64 78
             <state vertical-scroll-proportion="0.0">
65
-              <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
79
+              <caret line="80" column="18" selection-start-line="80" selection-start-column="18" selection-end-line="80" selection-end-column="18" />
66 80
               <folding>
67 81
                 <element signature="imports" expanded="true" />
68
-                <element signature="e#198#199#0" expanded="true" />
69
-                <element signature="e#219#220#0" expanded="true" />
82
+                <element signature="e#2067#2068#0" expanded="true" />
83
+                <element signature="e#2095#2096#0" expanded="true" />
70 84
               </folding>
71 85
             </state>
72 86
           </provider>
73 87
         </entry>
74 88
       </file>
75
-      <file leaf-file-name="GestionQuestions.java" pinned="false" current-in-tab="false">
76
-        <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
77
-          <provider selected="true" editor-type-id="text-editor">
78
-            <state vertical-scroll-proportion="0.0">
79
-              <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
80
-              <folding>
81
-                <element signature="imports" expanded="true" />
82
-                <element signature="e#202#203#0" expanded="true" />
83
-                <element signature="e#223#224#0" expanded="true" />
84
-              </folding>
85
-            </state>
89
+      <file leaf-file-name="mcd.png" pinned="false" current-in-tab="false">
90
+        <entry file="file://$PROJECT_DIR$/mcd.png">
91
+          <provider selected="true" editor-type-id="images">
92
+            <state />
86 93
           </provider>
87 94
         </entry>
88 95
       </file>
@@ -119,8 +126,8 @@
119 126
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
120 127
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
121 128
         <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
122
-        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
123 129
         <option value="$PROJECT_DIR$/src/GestionCategories.java" />
130
+        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
124 131
       </list>
125 132
     </option>
126 133
   </component>
@@ -135,9 +142,10 @@
135 142
     <order />
136 143
   </component>
137 144
   <component name="ProjectFrameBounds">
145
+    <option name="x" value="-1" />
138 146
     <option name="y" value="27" />
139
-    <option name="width" value="1366" />
140
-    <option name="height" value="711" />
147
+    <option name="width" value="1368" />
148
+    <option name="height" value="712" />
141 149
   </component>
142 150
   <component name="ProjectInspectionProfilesVisibleTreeState">
143 151
     <entry key="Project Default">
@@ -217,8 +225,6 @@
217 225
       <sortByType />
218 226
     </navigator>
219 227
     <panes>
220
-      <pane id="PackagesPane" />
221
-      <pane id="Scope" />
222 228
       <pane id="ProjectPane">
223 229
         <subPane>
224 230
           <PATH>
@@ -253,6 +259,8 @@
253 259
           </PATH>
254 260
         </subPane>
255 261
       </pane>
262
+      <pane id="Scope" />
263
+      <pane id="PackagesPane" />
256 264
       <pane id="Scratches" />
257 265
     </panes>
258 266
   </component>
@@ -274,6 +282,124 @@
274 282
       <recent name="" />
275 283
     </key>
276 284
   </component>
285
+  <component name="RestoreUpdateTree" date="Moments ago" ActionInfo="_Update">
286
+    <UpdatedFiles>
287
+      <FILE-GROUP>
288
+        <option name="myUpdateName" value="Updated from server" />
289
+        <option name="myStatusName" value="Changed on server" />
290
+        <option name="mySupportsDeletion" value="false" />
291
+        <option name="myCanBeAbsent" value="false" />
292
+        <option name="myId" value="CHANGED_ON_SERVER" />
293
+        <FILE-GROUP>
294
+          <option name="myUpdateName" value="Updated" />
295
+          <option name="myStatusName" value="Changed" />
296
+          <option name="mySupportsDeletion" value="false" />
297
+          <option name="myCanBeAbsent" value="false" />
298
+          <option name="myId" value="UPDATED" />
299
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/index.php</PATH>
300
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.categorie.php</PATH>
301
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.connector.php</PATH>
302
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/model/class.score.php</PATH>
303
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/tests.php</PATH>
304
+        </FILE-GROUP>
305
+        <FILE-GROUP>
306
+          <option name="myUpdateName" value="Created" />
307
+          <option name="myStatusName" value="Created" />
308
+          <option name="mySupportsDeletion" value="false" />
309
+          <option name="myCanBeAbsent" value="false" />
310
+          <option name="myId" value="CREATED" />
311
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/controller/palmares.php</PATH>
312
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/controller/questions.php</PATH>
313
+        </FILE-GROUP>
314
+        <FILE-GROUP>
315
+          <option name="myUpdateName" value="Deleted" />
316
+          <option name="myStatusName" value="Deleted" />
317
+          <option name="mySupportsDeletion" value="false" />
318
+          <option name="myCanBeAbsent" value="true" />
319
+          <option name="myId" value="REMOVED_FROM_REPOSITORY" />
320
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/view/palmares.php</PATH>
321
+          <PATH vcs="Git" revision="">$PROJECT_DIR$/../web/api/view/questions.php</PATH>
322
+        </FILE-GROUP>
323
+        <FILE-GROUP>
324
+          <option name="myUpdateName" value="Restored" />
325
+          <option name="myStatusName" value="Will be restored" />
326
+          <option name="mySupportsDeletion" value="false" />
327
+          <option name="myCanBeAbsent" value="false" />
328
+          <option name="myId" value="RESTORED" />
329
+        </FILE-GROUP>
330
+      </FILE-GROUP>
331
+      <FILE-GROUP>
332
+        <option name="myUpdateName" value="Modified" />
333
+        <option name="myStatusName" value="Modified" />
334
+        <option name="mySupportsDeletion" value="false" />
335
+        <option name="myCanBeAbsent" value="false" />
336
+        <option name="myId" value="MODIFIED" />
337
+      </FILE-GROUP>
338
+      <FILE-GROUP>
339
+        <option name="myUpdateName" value="Skipped" />
340
+        <option name="myStatusName" value="Skipped" />
341
+        <option name="mySupportsDeletion" value="false" />
342
+        <option name="myCanBeAbsent" value="false" />
343
+        <option name="myId" value="SKIPPED" />
344
+      </FILE-GROUP>
345
+      <FILE-GROUP>
346
+        <option name="myUpdateName" value="Merged with conflicts" />
347
+        <option name="myStatusName" value="Will be merged with conflicts" />
348
+        <option name="mySupportsDeletion" value="false" />
349
+        <option name="myCanBeAbsent" value="false" />
350
+        <option name="myId" value="MERGED_WITH_CONFLICTS" />
351
+      </FILE-GROUP>
352
+      <FILE-GROUP>
353
+        <option name="myUpdateName" value="Merged with tree conflicts" />
354
+        <option name="myStatusName" value="Merged with tree conflicts" />
355
+        <option name="mySupportsDeletion" value="false" />
356
+        <option name="myCanBeAbsent" value="false" />
357
+        <option name="myId" value="MERGED_WITH_TREE_CONFLICT" />
358
+      </FILE-GROUP>
359
+      <FILE-GROUP>
360
+        <option name="myUpdateName" value="Merged with property conflicts" />
361
+        <option name="myStatusName" value="Will be merged with property conflicts" />
362
+        <option name="mySupportsDeletion" value="false" />
363
+        <option name="myCanBeAbsent" value="false" />
364
+        <option name="myId" value="MERGED_WITH_PROPERTY_CONFLICT" />
365
+      </FILE-GROUP>
366
+      <FILE-GROUP>
367
+        <option name="myUpdateName" value="Merged" />
368
+        <option name="myStatusName" value="Will be merged" />
369
+        <option name="mySupportsDeletion" value="false" />
370
+        <option name="myCanBeAbsent" value="false" />
371
+        <option name="myId" value="MERGED" />
372
+      </FILE-GROUP>
373
+      <FILE-GROUP>
374
+        <option name="myUpdateName" value="Not in repository" />
375
+        <option name="myStatusName" value="Not in repository" />
376
+        <option name="mySupportsDeletion" value="true" />
377
+        <option name="myCanBeAbsent" value="false" />
378
+        <option name="myId" value="UNKNOWN" />
379
+      </FILE-GROUP>
380
+      <FILE-GROUP>
381
+        <option name="myUpdateName" value="Locally added" />
382
+        <option name="myStatusName" value="Locally added" />
383
+        <option name="mySupportsDeletion" value="false" />
384
+        <option name="myCanBeAbsent" value="false" />
385
+        <option name="myId" value="LOCALLY_ADDED" />
386
+      </FILE-GROUP>
387
+      <FILE-GROUP>
388
+        <option name="myUpdateName" value="Locally removed" />
389
+        <option name="myStatusName" value="Locally removed" />
390
+        <option name="mySupportsDeletion" value="false" />
391
+        <option name="myCanBeAbsent" value="false" />
392
+        <option name="myId" value="LOCALLY_REMOVED" />
393
+      </FILE-GROUP>
394
+      <FILE-GROUP>
395
+        <option name="myUpdateName" value="Switched" />
396
+        <option name="myStatusName" value="Switched" />
397
+        <option name="mySupportsDeletion" value="false" />
398
+        <option name="myCanBeAbsent" value="false" />
399
+        <option name="myId" value="SWITCHED" />
400
+      </FILE-GROUP>
401
+    </UpdatedFiles>
402
+  </component>
277 403
   <component name="RunManager" selected="Application.Main">
278 404
     <configuration default="false" name="Main" type="Application" factoryName="Application" temporary="true">
279 405
       <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
@@ -499,7 +625,13 @@
499 625
       <option name="project" value="LOCAL" />
500 626
       <updated>1432749145047</updated>
501 627
     </task>
502
-    <option name="localTasksCounter" value="11" />
628
+    <task id="LOCAL-00011" summary="java: gestion categorie operationelle">
629
+      <created>1432891735205</created>
630
+      <option name="number" value="00011" />
631
+      <option name="project" value="LOCAL" />
632
+      <updated>1432891735205</updated>
633
+    </task>
634
+    <option name="localTasksCounter" value="12" />
503 635
     <servers />
504 636
   </component>
505 637
   <component name="TodoView">
@@ -512,8 +644,8 @@
512 644
     </todo-panel>
513 645
   </component>
514 646
   <component name="ToolWindowManager">
515
-    <frame x="0" y="27" width="1366" height="711" extended-state="0" />
516
-    <editor active="false" />
647
+    <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
648
+    <editor active="true" />
517 649
     <layout>
518 650
       <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" />
519 651
       <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" />
@@ -525,19 +657,19 @@
525 657
       <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" />
526 658
       <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" />
527 659
       <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.49695587" order="7" side_tool="false" content_ui="tabs" />
528
-      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32922536" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
660
+      <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" />
529 661
       <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" />
530 662
       <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" />
531 663
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
532 664
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
533
-      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.1674277" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
534
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30633804" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
665
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.16717325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
666
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30579966" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
535 667
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
536 668
       <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" />
537 669
       <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" />
538 670
       <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" />
539
-      <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" />
540 671
       <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" />
672
+      <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" />
541 673
     </layout>
542 674
   </component>
543 675
   <component name="Vcs.Log.UiProperties">
@@ -562,7 +694,8 @@
562 694
     <MESSAGE value="les boutons ecoutent" />
563 695
     <MESSAGE value="conexion bdd operationelle et avance classe de base" />
564 696
     <MESSAGE value="selection categorie fonctionelle" />
565
-    <option name="LAST_COMMIT_MESSAGE" value="selection categorie fonctionelle" />
697
+    <MESSAGE value="java: gestion categorie operationelle" />
698
+    <option name="LAST_COMMIT_MESSAGE" value="java: gestion categorie operationelle" />
566 699
   </component>
567 700
   <component name="XDebuggerManager">
568 701
     <breakpoint-manager>
@@ -581,6 +714,8 @@
581 714
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
582 715
           <folding>
583 716
             <element signature="imports" expanded="true" />
717
+            <element signature="e#2067#2068#0" expanded="true" />
718
+            <element signature="e#2095#2096#0" expanded="true" />
584 719
           </folding>
585 720
         </state>
586 721
       </provider>
@@ -603,8 +738,6 @@
603 738
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
604 739
           <folding>
605 740
             <element signature="imports" expanded="true" />
606
-            <element signature="e#202#203#0" expanded="true" />
607
-            <element signature="e#223#224#0" expanded="true" />
608 741
           </folding>
609 742
         </state>
610 743
       </provider>
@@ -894,23 +1027,6 @@
894 1027
         </state>
895 1028
       </provider>
896 1029
     </entry>
897
-    <entry file="file://$PROJECT_DIR$/src/Categorie.java">
898
-      <provider selected="true" editor-type-id="text-editor">
899
-        <state vertical-scroll-proportion="0.0">
900
-          <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
901
-          <folding>
902
-            <element signature="e#80#81#0" expanded="true" />
903
-            <element signature="e#101#102#0" expanded="true" />
904
-            <element signature="e#128#129#0" expanded="true" />
905
-            <element signature="e#145#146#0" expanded="true" />
906
-            <element signature="e#180#181#0" expanded="true" />
907
-            <element signature="e#201#202#0" expanded="true" />
908
-            <element signature="e#230#231#0" expanded="true" />
909
-            <element signature="e#247#248#0" expanded="true" />
910
-          </folding>
911
-        </state>
912
-      </provider>
913
-    </entry>
914 1030
     <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
915 1031
       <provider selected="true" editor-type-id="text-editor">
916 1032
         <state vertical-scroll-proportion="0.6130031">
@@ -933,14 +1049,24 @@
933 1049
         </state>
934 1050
       </provider>
935 1051
     </entry>
936
-    <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
1052
+    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
937 1053
       <provider selected="true" editor-type-id="text-editor">
938 1054
         <state vertical-scroll-proportion="0.0">
939 1055
           <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
940 1056
           <folding>
941 1057
             <element signature="imports" expanded="true" />
942
-            <element signature="e#202#203#0" expanded="true" />
943
-            <element signature="e#223#224#0" expanded="true" />
1058
+            <element signature="e#198#199#0" expanded="true" />
1059
+            <element signature="e#219#220#0" expanded="true" />
1060
+          </folding>
1061
+        </state>
1062
+      </provider>
1063
+    </entry>
1064
+    <entry file="file://$PROJECT_DIR$/src/GestionQuestions.java">
1065
+      <provider selected="true" editor-type-id="text-editor">
1066
+        <state vertical-scroll-proportion="0.24930748">
1067
+          <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
1068
+          <folding>
1069
+            <element signature="imports" expanded="true" />
944 1070
           </folding>
945 1071
         </state>
946 1072
       </provider>
@@ -950,42 +1076,47 @@
950 1076
         <state />
951 1077
       </provider>
952 1078
     </entry>
953
-    <entry file="file://$PROJECT_DIR$/src/GestionReponses.java">
1079
+    <entry file="file://$PROJECT_DIR$/src/Categorie.java">
954 1080
       <provider selected="true" editor-type-id="text-editor">
955 1081
         <state vertical-scroll-proportion="0.0">
956
-          <caret line="5" column="12" selection-start-line="5" selection-start-column="12" selection-end-line="5" selection-end-column="12" />
1082
+          <caret line="5" column="4" selection-start-line="5" selection-start-column="4" selection-end-line="5" selection-end-column="4" />
957 1083
           <folding>
958
-            <element signature="imports" expanded="true" />
959
-            <element signature="e#198#199#0" expanded="true" />
960
-            <element signature="e#219#220#0" expanded="true" />
1084
+            <element signature="e#80#81#0" expanded="true" />
1085
+            <element signature="e#101#102#0" expanded="true" />
961 1086
           </folding>
962 1087
         </state>
963 1088
       </provider>
964 1089
     </entry>
965
-    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
1090
+    <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
966 1091
       <provider selected="true" editor-type-id="text-editor">
967 1092
         <state vertical-scroll-proportion="0.0">
968
-          <caret line="48" column="53" selection-start-line="48" selection-start-column="53" selection-end-line="48" selection-end-column="53" />
1093
+          <caret line="80" column="18" selection-start-line="80" selection-start-column="18" selection-end-line="80" selection-end-column="18" />
969 1094
           <folding>
970 1095
             <element signature="imports" expanded="true" />
1096
+            <element signature="e#2067#2068#0" expanded="true" />
1097
+            <element signature="e#2095#2096#0" expanded="true" />
971 1098
           </folding>
972 1099
         </state>
973 1100
       </provider>
974 1101
     </entry>
975
-    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1102
+    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
976 1103
       <provider selected="true" editor-type-id="text-editor">
977 1104
         <state vertical-scroll-proportion="0.0">
978
-          <caret line="49" column="8" selection-start-line="49" selection-start-column="8" selection-end-line="49" selection-end-column="8" />
1105
+          <caret line="63" column="76" selection-start-line="63" selection-start-column="76" selection-end-line="63" selection-end-column="76" />
979 1106
           <folding>
980 1107
             <element signature="imports" expanded="true" />
1108
+            <element signature="e#1239#1240#0" expanded="true" />
1109
+            <element signature="e#1294#1295#0" expanded="true" />
1110
+            <element signature="e#1349#1350#0" expanded="true" />
1111
+            <element signature="e#1404#1405#0" expanded="true" />
981 1112
           </folding>
982 1113
         </state>
983 1114
       </provider>
984 1115
     </entry>
985
-    <entry file="file://$PROJECT_DIR$/src/GestionCategories.java">
1116
+    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
986 1117
       <provider selected="true" editor-type-id="text-editor">
987
-        <state vertical-scroll-proportion="0.03601108">
988
-          <caret line="15" column="50" selection-start-line="15" selection-start-column="50" selection-end-line="15" selection-end-column="50" />
1118
+        <state vertical-scroll-proportion="0.22099447">
1119
+          <caret line="340" column="71" selection-start-line="340" selection-start-column="71" selection-end-line="340" selection-end-column="71" />
989 1120
           <folding>
990 1121
             <element signature="imports" expanded="true" />
991 1122
           </folding>

BIN
java/out/production/java/ConnexionBDD.class 파일 보기


BIN
java/out/production/java/GestionCategories.class 파일 보기


BIN
java/out/production/java/InterfacePrincipale$PanCategoriesListener.class 파일 보기


BIN
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class 파일 보기


BIN
java/out/production/java/InterfacePrincipale$PanReponsesListener.class 파일 보기


BIN
java/out/production/java/InterfacePrincipale.class 파일 보기


+ 15
- 1
java/src/InterfacePrincipale.java 파일 보기

@@ -4,6 +4,8 @@ import javax.swing.border.Border;
4 4
 import java.awt.*;
5 5
 import java.awt.event.ActionEvent;
6 6
 import java.awt.event.ActionListener;
7
+import java.lang.reflect.Array;
8
+import java.util.Arrays;
7 9
 
8 10
 import static java.lang.Thread.currentThread;
9 11
 import static java.lang.Thread.sleep;
@@ -335,7 +337,19 @@ public class InterfacePrincipale extends JFrame
335 337
 				}
336 338
 
337 339
 				bdd.renameCategorie(oldCatName, newCatName);
338
-				listC.setListData(bdd.getListeCategorie().toArray());
340
+
341
+				Object[] tabObject = bdd.getListeCategorie().toArray();
342
+				Categorie[] tabCategorie = Arrays.copyOf(tabObject, tabObject.length, Categorie[].class);
343
+				listC.setListData(tabCategorie);
344
+
345
+				for(int i=0; i<tabCategorie.length; i++)
346
+				{
347
+					if(tabCategorie[i].getNom().equals(newCatName))
348
+					{
349
+						listC.setSelectedValue(tabCategorie[i], true);
350
+						break;
351
+					}
352
+				}
339 353
 			}
340 354
 		}
341 355
 	}