Sfoglia il codice sorgente

boite de dialogue plus ergonomique

PCYoshi 9 anni fa
parent
commit
8f99cbb1b6

+ 82
- 300
java/.idea/workspace.xml Vedi File

@@ -7,14 +7,17 @@
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/ConfigBDD.java" />
11 10
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" />
12 11
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$1.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$1.class" />
13 12
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
14 13
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
14
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/MainAdminBddBurgerQuizz.class" afterPath="$PROJECT_DIR$/out/production/java/MainAdminBddBurgerQuizz.class" />
15 15
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBDD.java" afterPath="$PROJECT_DIR$/src/ConnexionBDD.java" />
16 16
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBddDialog.java" afterPath="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
17 17
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
18
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" afterPath="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
19
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" afterPath="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
20
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/NouvelleReponseDialog.java" afterPath="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
18 21
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
19 22
     </list>
20 23
     <ignored path="java.iws" />
@@ -41,94 +44,49 @@
41 44
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
42 45
           <provider selected="true" editor-type-id="text-editor">
43 46
             <state vertical-scroll-proportion="0.0">
44
-              <caret line="302" column="63" selection-start-line="302" selection-start-column="63" selection-end-line="302" selection-end-column="63" />
45
-              <folding>
46
-                <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
47
-                <element signature="e#3838#3952#0" expanded="true" />
48
-                <element signature="e#3951#3952#0" expanded="true" />
49
-                <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
50
-                <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
51
-                <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
52
-                <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
53
-                <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
54
-                <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
55
-                <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
56
-                <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
57
-                <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
58
-                <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
59
-                <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
60
-                <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
61
-                <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
62
-                <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
63
-                <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
64
-                <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
65
-                <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
66
-              </folding>
47
+              <caret line="584" column="26" selection-start-line="584" selection-start-column="19" selection-end-line="584" selection-end-column="26" />
48
+              <folding />
67 49
             </state>
68 50
           </provider>
69 51
         </entry>
70 52
       </file>
71
-      <file leaf-file-name="ConfigBDD.java" pinned="false" current-in-tab="false">
72
-        <entry file="file://$PROJECT_DIR$/src/ConfigBDD.java">
53
+      <file leaf-file-name="NouvelleReponseDialog.java" pinned="false" current-in-tab="false">
54
+        <entry file="file://$PROJECT_DIR$/src/NouvelleReponseDialog.java">
73 55
           <provider selected="true" editor-type-id="text-editor">
74 56
             <state vertical-scroll-proportion="0.0">
75
-              <caret line="19" column="9" selection-start-line="19" selection-start-column="9" selection-end-line="19" selection-end-column="9" />
76
-              <folding>
77
-                <element signature="imports" expanded="true" />
78
-                <element signature="e#120#121#0" expanded="true" />
79
-                <element signature="e#150#151#0" expanded="true" />
80
-                <element signature="e#900#901#0" expanded="true" />
81
-                <element signature="e#940#941#0" expanded="true" />
82
-                <element signature="e#981#982#0" expanded="true" />
83
-                <element signature="e#1022#1023#0" expanded="true" />
84
-                <element signature="e#1047#1048#0" expanded="true" />
85
-                <element signature="e#1103#1104#0" expanded="true" />
86
-                <element signature="e#1137#1138#0" expanded="true" />
87
-                <element signature="e#1190#1191#0" expanded="true" />
88
-                <element signature="e#1216#1217#0" expanded="true" />
89
-                <element signature="e#1252#1253#0" expanded="true" />
90
-                <element signature="e#1285#1286#0" expanded="true" />
91
-                <element signature="e#1318#1319#0" expanded="true" />
92
-                <element signature="e#1347#1348#0" expanded="true" />
93
-                <element signature="e#1386#1387#0" expanded="true" />
94
-                <element signature="e#1425#1426#0" expanded="true" />
95
-                <element signature="e#1464#1465#0" expanded="true" />
96
-                <element signature="e#1496#1497#0" expanded="true" />
97
-                <element signature="e#1538#1539#0" expanded="true" />
98
-                <element signature="e#1583#1584#0" expanded="true" />
99
-                <element signature="e#1628#1629#0" expanded="true" />
100
-              </folding>
57
+              <caret line="35" column="31" selection-start-line="35" selection-start-column="31" selection-end-line="35" selection-end-column="31" />
58
+              <folding />
101 59
             </state>
102 60
           </provider>
103 61
         </entry>
104 62
       </file>
105
-      <file leaf-file-name="MainAdminBddBurgerQuizz.java" pinned="false" current-in-tab="false">
63
+      <file leaf-file-name="MainAdminBddBurgerQuizz.java" pinned="false" current-in-tab="true">
106 64
         <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
107 65
           <provider selected="true" editor-type-id="text-editor">
108
-            <state vertical-scroll-proportion="0.0">
66
+            <state vertical-scroll-proportion="0.06716418">
109 67
               <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
110
-              <folding />
68
+              <folding>
69
+                <element signature="imports" expanded="true" />
70
+              </folding>
111 71
             </state>
112 72
           </provider>
113 73
         </entry>
114 74
       </file>
115
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
116
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
75
+      <file leaf-file-name="NouvelleQuestionDialog.java" pinned="false" current-in-tab="false">
76
+        <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
117 77
           <provider selected="true" editor-type-id="text-editor">
118 78
             <state vertical-scroll-proportion="0.0">
119
-              <caret line="43" column="14" selection-start-line="43" selection-start-column="14" selection-end-line="43" selection-end-column="14" />
120
-              <folding>
121
-                <element signature="imports" expanded="true" />
122
-              </folding>
79
+              <caret line="73" column="143" selection-start-line="73" selection-start-column="143" selection-end-line="73" selection-end-column="143" />
80
+              <folding />
123 81
             </state>
124 82
           </provider>
125 83
         </entry>
126 84
       </file>
127
-      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="true">
85
+      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="false">
128 86
         <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
129 87
           <provider selected="true" editor-type-id="text-editor">
130
-            <state vertical-scroll-proportion="0.36567163">
131
-              <caret line="73" column="24" selection-start-line="73" selection-start-column="24" selection-end-line="73" selection-end-column="24" />
88
+            <state vertical-scroll-proportion="0.0">
89
+              <caret line="105" column="143" selection-start-line="105" selection-start-column="143" selection-end-line="105" selection-end-column="143" />
132 90
               <folding>
133 91
                 <element signature="imports" expanded="true" />
134 92
               </folding>
@@ -167,15 +125,15 @@
167 125
         <option value="$PROJECT_DIR$/src/Question.java" />
168 126
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
169 127
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
170
-        <option value="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
171
-        <option value="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
172 128
         <option value="$PROJECT_DIR$/src/Bouton.java" />
173
-        <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
174 129
         <option value="$PROJECT_DIR$/src/configBDD.java" />
175 130
         <option value="$PROJECT_DIR$/src/ConfigBDD.java" />
176 131
         <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
177
-        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
132
+        <option value="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
178 133
         <option value="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
134
+        <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
135
+        <option value="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
136
+        <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
179 137
       </list>
180 138
     </option>
181 139
   </component>
@@ -294,9 +252,6 @@
294 252
       <sortByType />
295 253
     </navigator>
296 254
     <panes>
297
-      <pane id="Scratches" />
298
-      <pane id="PackagesPane" />
299
-      <pane id="Scope" />
300 255
       <pane id="ProjectPane">
301 256
         <subPane>
302 257
           <PATH>
@@ -331,6 +286,9 @@
331 286
           </PATH>
332 287
         </subPane>
333 288
       </pane>
289
+      <pane id="Scope" />
290
+      <pane id="PackagesPane" />
291
+      <pane id="Scratches" />
334 292
     </panes>
335 293
   </component>
336 294
   <component name="PropertiesComponent">
@@ -667,7 +625,13 @@
667 625
       <option name="project" value="LOCAL" />
668 626
       <updated>1433352072706</updated>
669 627
     </task>
670
-    <option name="localTasksCounter" value="25" />
628
+    <task id="LOCAL-00025" summary="modification parametre operationelle">
629
+      <created>1433413381772</created>
630
+      <option name="number" value="00025" />
631
+      <option name="project" value="LOCAL" />
632
+      <updated>1433413381772</updated>
633
+    </task>
634
+    <option name="localTasksCounter" value="26" />
671 635
     <servers />
672 636
   </component>
673 637
   <component name="TodoView">
@@ -681,31 +645,31 @@
681 645
   </component>
682 646
   <component name="ToolWindowManager">
683 647
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
684
-    <editor active="true" />
648
+    <editor active="false" />
685 649
     <layout>
686
-      <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" />
687 650
       <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" />
651
+      <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" />
688 652
       <window_info id="Designer" 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" />
689
-      <window_info id="Palette" 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" />
690 653
       <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32864675" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
691
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
692
-      <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="2" side_tool="false" content_ui="tabs" />
693
-      <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="9" side_tool="true" content_ui="tabs" />
694
-      <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" />
695
-      <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="10" side_tool="false" content_ui="tabs" />
696
-      <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="6" side_tool="false" content_ui="tabs" />
697 654
       <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="8" side_tool="false" content_ui="tabs" />
655
+      <window_info id="Palette" 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" />
656
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
698 657
       <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" />
699 658
       <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" />
700 659
       <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="11" side_tool="false" content_ui="tabs" />
701
-      <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" />
702
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
660
+      <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.26291794" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
661
+      <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" />
662
+      <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="9" side_tool="true" content_ui="tabs" />
663
+      <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="10" side_tool="false" content_ui="tabs" />
703 664
       <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="3" side_tool="false" content_ui="tabs" />
704 665
       <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" />
705 666
       <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32864675" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
667
+      <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="2" side_tool="false" content_ui="tabs" />
668
+      <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="6" side_tool="false" content_ui="tabs" />
706 669
       <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" />
707 670
       <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" />
708 671
       <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="4" side_tool="false" content_ui="tabs" />
672
+      <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="7" side_tool="false" content_ui="tabs" />
709 673
     </layout>
710 674
   </component>
711 675
   <component name="Vcs.Log.UiProperties">
@@ -741,7 +705,8 @@
741 705
     <MESSAGE value="++ gestion reponsesV5" />
742 706
     <MESSAGE value="dialogu co bdd" />
743 707
     <MESSAGE value="amelioration diverse concernant la boite de dialogue des parametres" />
744
-    <option name="LAST_COMMIT_MESSAGE" value="amelioration diverse concernant la boite de dialogue des parametres" />
708
+    <MESSAGE value="modification parametre operationelle" />
709
+    <option name="LAST_COMMIT_MESSAGE" value="modification parametre operationelle" />
745 710
   </component>
746 711
   <component name="XDebuggerManager">
747 712
     <breakpoint-manager>
@@ -768,28 +733,7 @@
768 733
       <provider selected="true" editor-type-id="text-editor">
769 734
         <state vertical-scroll-proportion="0.0">
770 735
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
771
-          <folding>
772
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
773
-            <element signature="e#3838#3952#0" expanded="true" />
774
-            <element signature="e#3951#3952#0" expanded="true" />
775
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
776
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
777
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
778
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
779
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
780
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
781
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
782
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
783
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
784
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
785
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
786
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
787
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
788
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
789
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
790
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
791
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
792
-          </folding>
736
+          <folding />
793 737
         </state>
794 738
       </provider>
795 739
     </entry>
@@ -821,28 +765,7 @@
821 765
       <provider selected="true" editor-type-id="text-editor">
822 766
         <state vertical-scroll-proportion="0.0">
823 767
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
824
-          <folding>
825
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
826
-            <element signature="e#3838#3952#0" expanded="true" />
827
-            <element signature="e#3951#3952#0" expanded="true" />
828
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
829
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
830
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
831
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
832
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
833
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
834
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
835
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
836
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
837
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
838
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
839
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
840
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
841
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
842
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
843
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
844
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
845
-          </folding>
768
+          <folding />
846 769
         </state>
847 770
       </provider>
848 771
     </entry>
@@ -874,28 +797,7 @@
874 797
       <provider selected="true" editor-type-id="text-editor">
875 798
         <state vertical-scroll-proportion="0.0">
876 799
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
877
-          <folding>
878
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
879
-            <element signature="e#3838#3952#0" expanded="true" />
880
-            <element signature="e#3951#3952#0" expanded="true" />
881
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
882
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
883
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
884
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
885
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
886
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
887
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
888
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
889
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
890
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
891
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
892
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
893
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
894
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
895
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
896
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
897
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
898
-          </folding>
800
+          <folding />
899 801
         </state>
900 802
       </provider>
901 803
     </entry>
@@ -927,28 +829,7 @@
927 829
       <provider selected="true" editor-type-id="text-editor">
928 830
         <state vertical-scroll-proportion="0.0">
929 831
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
930
-          <folding>
931
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
932
-            <element signature="e#3838#3952#0" expanded="true" />
933
-            <element signature="e#3951#3952#0" expanded="true" />
934
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
935
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
936
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
937
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
938
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
939
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
940
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
941
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
942
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
943
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
944
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
945
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
946
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
947
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
948
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
949
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
950
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
951
-          </folding>
832
+          <folding />
952 833
         </state>
953 834
       </provider>
954 835
     </entry>
@@ -980,28 +861,7 @@
980 861
       <provider selected="true" editor-type-id="text-editor">
981 862
         <state vertical-scroll-proportion="0.0">
982 863
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
983
-          <folding>
984
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
985
-            <element signature="e#3838#3952#0" expanded="true" />
986
-            <element signature="e#3951#3952#0" expanded="true" />
987
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
988
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
989
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
990
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
991
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
992
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
993
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
994
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
995
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
996
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
997
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
998
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
999
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1000
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1001
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1002
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1003
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1004
-          </folding>
864
+          <folding />
1005 865
         </state>
1006 866
       </provider>
1007 867
     </entry>
@@ -1054,28 +914,7 @@
1054 914
       <provider selected="true" editor-type-id="text-editor">
1055 915
         <state vertical-scroll-proportion="0.0">
1056 916
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1057
-          <folding>
1058
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1059
-            <element signature="e#3838#3952#0" expanded="true" />
1060
-            <element signature="e#3951#3952#0" expanded="true" />
1061
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1062
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1063
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1064
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1065
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1066
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
1067
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
1068
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1069
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
1070
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1071
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1072
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1073
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1074
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1075
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1076
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1077
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1078
-          </folding>
917
+          <folding />
1079 918
         </state>
1080 919
       </provider>
1081 920
     </entry>
@@ -1135,7 +974,6 @@
1135 974
       <provider selected="true" editor-type-id="text-editor">
1136 975
         <state vertical-scroll-proportion="0.46082088">
1137 976
           <caret line="52" column="26" selection-start-line="52" selection-start-column="26" selection-end-line="52" selection-end-column="26" />
1138
-          <folding />
1139 977
         </state>
1140 978
       </provider>
1141 979
     </entry>
@@ -1153,129 +991,73 @@
1153 991
         </state>
1154 992
       </provider>
1155 993
     </entry>
1156
-    <entry file="file://$PROJECT_DIR$/src/NouvelleReponseDialog.java">
994
+    <entry file="file://$PROJECT_DIR$/src/Bouton.java">
1157 995
       <provider selected="true" editor-type-id="text-editor">
1158
-        <state vertical-scroll-proportion="0.31716418">
1159
-          <caret line="17" column="31" selection-start-line="17" selection-start-column="31" selection-end-line="17" selection-end-column="31" />
1160
-          <folding />
996
+        <state vertical-scroll-proportion="0.20165746">
997
+          <caret line="6" column="40" selection-start-line="6" selection-start-column="40" selection-end-line="6" selection-end-column="40" />
1161 998
         </state>
1162 999
       </provider>
1163 1000
     </entry>
1164
-    <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1001
+    <entry file="file://$PROJECT_DIR$/conf.xml">
1165 1002
       <provider selected="true" editor-type-id="text-editor">
1166 1003
         <state vertical-scroll-proportion="0.0">
1167
-          <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
1168
-          <folding>
1169
-            <element signature="imports" expanded="false" />
1170
-            <element signature="e#2002#2003#0" expanded="false" />
1171
-            <element signature="e#2034#2035#0" expanded="false" />
1172
-            <element signature="e#2062#2063#0" expanded="false" />
1173
-            <element signature="e#2102#2103#0" expanded="false" />
1174
-          </folding>
1004
+          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1005
+          <folding />
1175 1006
         </state>
1176 1007
       </provider>
1177 1008
     </entry>
1178
-    <entry file="file://$PROJECT_DIR$/src/Bouton.java">
1009
+    <entry file="file://$PROJECT_DIR$/src/ConfigBDD.java">
1179 1010
       <provider selected="true" editor-type-id="text-editor">
1180
-        <state vertical-scroll-proportion="0.20165746">
1181
-          <caret line="6" column="40" selection-start-line="6" selection-start-column="40" selection-end-line="6" selection-end-column="40" />
1182
-          <folding>
1183
-            <element signature="imports" expanded="true" />
1184
-          </folding>
1011
+        <state vertical-scroll-proportion="0.60261196">
1012
+          <caret line="19" column="9" selection-start-line="19" selection-start-column="9" selection-end-line="19" selection-end-column="9" />
1185 1013
         </state>
1186 1014
       </provider>
1187 1015
     </entry>
1188 1016
     <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
1189 1017
       <provider selected="true" editor-type-id="text-editor">
1190
-        <state vertical-scroll-proportion="0.0">
1191
-          <caret line="43" column="14" selection-start-line="43" selection-start-column="14" selection-end-line="43" selection-end-column="14" />
1192
-          <folding>
1193
-            <element signature="imports" expanded="true" />
1194
-          </folding>
1018
+        <state vertical-scroll-proportion="-0.29104477">
1019
+          <caret line="40" column="32" selection-start-line="40" selection-start-column="32" selection-end-line="40" selection-end-column="32" />
1195 1020
         </state>
1196 1021
       </provider>
1197 1022
     </entry>
1198
-    <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
1023
+    <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1199 1024
       <provider selected="true" editor-type-id="text-editor">
1200 1025
         <state vertical-scroll-proportion="0.0">
1201
-          <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
1202
-          <folding />
1026
+          <caret line="105" column="143" selection-start-line="105" selection-start-column="143" selection-end-line="105" selection-end-column="143" />
1027
+          <folding>
1028
+            <element signature="imports" expanded="true" />
1029
+          </folding>
1203 1030
         </state>
1204 1031
       </provider>
1205 1032
     </entry>
1206
-    <entry file="file://$PROJECT_DIR$/conf.xml">
1033
+    <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1207 1034
       <provider selected="true" editor-type-id="text-editor">
1208 1035
         <state vertical-scroll-proportion="0.0">
1209
-          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1036
+          <caret line="73" column="143" selection-start-line="73" selection-start-column="143" selection-end-line="73" selection-end-column="143" />
1210 1037
           <folding />
1211 1038
         </state>
1212 1039
       </provider>
1213 1040
     </entry>
1214
-    <entry file="file://$PROJECT_DIR$/src/ConfigBDD.java">
1041
+    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1215 1042
       <provider selected="true" editor-type-id="text-editor">
1216 1043
         <state vertical-scroll-proportion="0.0">
1217
-          <caret line="19" column="9" selection-start-line="19" selection-start-column="9" selection-end-line="19" selection-end-column="9" />
1218
-          <folding>
1219
-            <element signature="imports" expanded="true" />
1220
-            <element signature="e#120#121#0" expanded="true" />
1221
-            <element signature="e#150#151#0" expanded="true" />
1222
-            <element signature="e#900#901#0" expanded="true" />
1223
-            <element signature="e#940#941#0" expanded="true" />
1224
-            <element signature="e#981#982#0" expanded="true" />
1225
-            <element signature="e#1022#1023#0" expanded="true" />
1226
-            <element signature="e#1047#1048#0" expanded="true" />
1227
-            <element signature="e#1103#1104#0" expanded="true" />
1228
-            <element signature="e#1137#1138#0" expanded="true" />
1229
-            <element signature="e#1190#1191#0" expanded="true" />
1230
-            <element signature="e#1216#1217#0" expanded="true" />
1231
-            <element signature="e#1252#1253#0" expanded="true" />
1232
-            <element signature="e#1285#1286#0" expanded="true" />
1233
-            <element signature="e#1318#1319#0" expanded="true" />
1234
-            <element signature="e#1347#1348#0" expanded="true" />
1235
-            <element signature="e#1386#1387#0" expanded="true" />
1236
-            <element signature="e#1425#1426#0" expanded="true" />
1237
-            <element signature="e#1464#1465#0" expanded="true" />
1238
-            <element signature="e#1496#1497#0" expanded="true" />
1239
-            <element signature="e#1538#1539#0" expanded="true" />
1240
-            <element signature="e#1583#1584#0" expanded="true" />
1241
-            <element signature="e#1628#1629#0" expanded="true" />
1242
-          </folding>
1044
+          <caret line="584" column="26" selection-start-line="584" selection-start-column="19" selection-end-line="584" selection-end-column="26" />
1045
+          <folding />
1243 1046
         </state>
1244 1047
       </provider>
1245 1048
     </entry>
1246
-    <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1049
+    <entry file="file://$PROJECT_DIR$/src/NouvelleReponseDialog.java">
1247 1050
       <provider selected="true" editor-type-id="text-editor">
1248 1051
         <state vertical-scroll-proportion="0.0">
1249
-          <caret line="302" column="63" selection-start-line="302" selection-start-column="63" selection-end-line="302" selection-end-column="63" />
1250
-          <folding>
1251
-            <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1252
-            <element signature="e#3838#3952#0" expanded="true" />
1253
-            <element signature="e#3951#3952#0" expanded="true" />
1254
-            <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1255
-            <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1256
-            <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1257
-            <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1258
-            <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1259
-            <element signature="method#reSelectCategorie#0;class#InterfacePrincipale#0" expanded="false" />
1260
-            <element signature="method#reSelectReponses#0;class#InterfacePrincipale#0" expanded="false" />
1261
-            <element signature="method#reSelectQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1262
-            <element signature="method#getCategorieList#0;class#InterfacePrincipale#0" expanded="false" />
1263
-            <element signature="class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1264
-            <element signature="method#actionPerformed#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1265
-            <element signature="method#valueChanged#0;class#PanCategoriesListener#0;class#InterfacePrincipale#0" expanded="false" />
1266
-            <element signature="class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1267
-            <element signature="method#actionPerformed#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1268
-            <element signature="method#valueChanged#0;class#PanReponsesListener#0;class#InterfacePrincipale#0" expanded="false" />
1269
-            <element signature="class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1270
-            <element signature="method#actionPerformed#0;class#PanQuestionsListener#0;class#InterfacePrincipale#0" expanded="false" />
1271
-          </folding>
1052
+          <caret line="35" column="31" selection-start-line="35" selection-start-column="31" selection-end-line="35" selection-end-column="31" />
1053
+          <folding />
1272 1054
         </state>
1273 1055
       </provider>
1274 1056
     </entry>
1275
-    <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1057
+    <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
1276 1058
       <provider selected="true" editor-type-id="text-editor">
1277
-        <state vertical-scroll-proportion="0.36567163">
1278
-          <caret line="73" column="24" selection-start-line="73" selection-start-column="24" selection-end-line="73" selection-end-column="24" />
1059
+        <state vertical-scroll-proportion="0.06716418">
1060
+          <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
1279 1061
           <folding>
1280 1062
             <element signature="imports" expanded="true" />
1281 1063
           </folding>

BIN
java/out/production/java/ConnexionBDD.class Vedi File


BIN
java/out/production/java/InterfacePrincipale$1.class Vedi File


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


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


BIN
java/out/production/java/MainAdminBddBurgerQuizz.class Vedi File


+ 1
- 1
java/src/ConnexionBDD.java Vedi File

@@ -39,7 +39,7 @@ public class ConnexionBDD
39 39
 		catch(SQLException e)
40 40
 		{
41 41
 			e.printStackTrace();
42
-			System.out.println("Erreur de conexion à la base de données");
42
+			System.out.println("Erreur de conexion à la base de données: " + e.getMessage());
43 43
 			return false;
44 44
 			//System.exit(1);
45 45
 		}

+ 7
- 2
java/src/ConnexionBddDialog.java Vedi File

@@ -21,7 +21,7 @@ public class ConnexionBddDialog extends JDialog implements ActionListener
21 21
 
22 22
 	public ConnexionBddDialog(String nomBdd, int port, String ip, String login, String password, JFrame parent, boolean showExitButton)
23 23
 	{
24
-		super(parent, "Paramétres BDD", true);
24
+		super(parent, "Paramètres de connexion à la  base de données", true);
25 25
 		modifEffectuees = false;
26 26
 		createInterface(nomBdd, port, ip, login, password, showExitButton);
27 27
 		pack();
@@ -46,7 +46,7 @@ public class ConnexionBddDialog extends JDialog implements ActionListener
46 46
 
47 47
 		ok = new JButton("OK");
48 48
 		annuler = new JButton("Annuler");
49
-		defParams = new JButton("Paramétres de connexion par défault");
49
+		defParams = new JButton("Paramètres de connexion par défaut");
50 50
 		quitter = new JButton("Quitter l'aplication");
51 51
 
52 52
 		ok.addActionListener(this);
@@ -101,6 +101,11 @@ public class ConnexionBddDialog extends JDialog implements ActionListener
101 101
 		}
102 102
 		else if(e.getSource() == ok)
103 103
 		{
104
+			if(getNomBdd().isEmpty() || getIp().isEmpty() || getLogin().isEmpty())
105
+			{
106
+				JOptionPane.showMessageDialog(this, "Les champs ne doivent pas être vide.", "Champs non remplis", JOptionPane.WARNING_MESSAGE);
107
+				return;
108
+			}
104 109
 			modifEffectuees = true;
105 110
 			setVisible(false);
106 111
 		}

+ 24
- 24
java/src/InterfacePrincipale.java Vedi File

@@ -55,15 +55,7 @@ public class InterfacePrincipale extends JFrame
55 55
 		configBDD.loadConf();
56 56
 		bdd = new ConnexionBDD();
57 57
 
58
-		boolean conOK = false;
59
-		do
60
-		{
61
-			conOK = bdd.connect(configBDD.getNomBdd(), configBDD.getPort(), configBDD.getIp(), configBDD.getLogin(), configBDD.getPassword());
62
-			if(conOK == false)
63
-			{
64
-				configureBDD(true);
65
-			}
66
-		}while(!conOK);
58
+		tryToConnect();
67 59
 
68 60
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
69 61
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
@@ -137,6 +129,10 @@ public class InterfacePrincipale extends JFrame
137 129
 		config.addActionListener(new ActionListener() {
138 130
 			public void actionPerformed(ActionEvent actionEvent) {
139 131
 				configureBDD(false);
132
+				tryToConnect();
133
+				listC.setListData(bdd.getListeCategorie().toArray());
134
+				listR.setListData(new Vector(0));
135
+				listQ.setListData(new Vector(0));
140 136
 			}
141 137
 		});
142 138
 	}
@@ -313,6 +309,20 @@ public class InterfacePrincipale extends JFrame
313 309
 		}
314 310
 	}
315 311
 
312
+	private void tryToConnect()
313
+	{
314
+		boolean conOK = false;
315
+		do
316
+		{
317
+			conOK = bdd.connect(configBDD.getNomBdd(), configBDD.getPort(), configBDD.getIp(), configBDD.getLogin(), configBDD.getPassword());
318
+			if(conOK == false)
319
+			{
320
+				JOptionPane.showMessageDialog(this, "Impossible d'établir la connexion à la base de données.", "Erreur conexion base de données", JOptionPane.ERROR_MESSAGE);
321
+				configureBDD(true);
322
+			}
323
+		}while(!conOK);
324
+	}
325
+
316 326
 	private void reSelectCategorie(String newCatName)
317 327
 	{
318 328
 		Object[] tabObject = bdd.getListeCategorie().toArray();
@@ -381,9 +391,7 @@ public class InterfacePrincipale extends JFrame
381 391
 		{
382 392
 			if(e.getSource() == addC)
383 393
 			{
384
-				JOptionPane jop = new JOptionPane();
385
-
386
-				String catName = jop.showInputDialog(null,
394
+				String catName = JOptionPane.showInputDialog(null,
387 395
 						"Nom de la nouvelle categorie:",
388 396
 						"Nouvelle catégorie",
389 397
 						JOptionPane.QUESTION_MESSAGE);
@@ -405,8 +413,6 @@ public class InterfacePrincipale extends JFrame
405 413
 			}
406 414
 			else if(e.getSource() == delC)
407 415
 			{
408
-				JOptionPane jop = new JOptionPane();
409
-
410 416
 				Categorie c = (Categorie) listC.getSelectedValue();
411 417
 
412 418
 				if(c == null)
@@ -417,7 +423,7 @@ public class InterfacePrincipale extends JFrame
417 423
 
418 424
 				String categorieName = c.getNom();
419 425
 
420
-				if(jop.showConfirmDialog(null,"Voulez vous vraiment supprimer la catégorie " + categorieName + " ?\nCela supprimera aussi toute les reponses et questions associé à cette catégorie.", "Supression de catégorie", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
426
+				if(JOptionPane.showConfirmDialog(null, "Voulez vous vraiment supprimer la catégorie " + categorieName + " ?\nCela supprimera aussi toute les reponses et questions associé à cette catégorie.", "Supression de catégorie", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
421 427
 				{
422 428
 					bdd.deleteCategorie(categorieName);
423 429
 					listC.setListData(bdd.getListeCategorie().toArray());
@@ -435,11 +441,9 @@ public class InterfacePrincipale extends JFrame
435 441
 					return;
436 442
 				}
437 443
 
438
-				JOptionPane jop = new JOptionPane();
439
-
440 444
 				String oldCatName = c.getNom();
441 445
 
442
-				String newCatName = jop.showInputDialog(null,
446
+				String newCatName = JOptionPane.showInputDialog(null,
443 447
 						"Nouveau nom pour la categorie " + oldCatName + ":",
444 448
 						"Renomer catégorie",
445 449
 						JOptionPane.QUESTION_MESSAGE);
@@ -492,8 +496,6 @@ public class InterfacePrincipale extends JFrame
492 496
 			}
493 497
 			else if(e.getSource() == delR)
494 498
 			{
495
-				JOptionPane jop = new JOptionPane();
496
-
497 499
 				Reponses r = (Reponses) listR.getSelectedValue();
498 500
 
499 501
 				if(r == null)
@@ -505,7 +507,7 @@ public class InterfacePrincipale extends JFrame
505 507
 				String reponse1 = r.getReponse1();
506 508
 				String reponse2 = r.getReponse2();
507 509
 
508
-				if(jop.showConfirmDialog(null,"Voulez vous vraiment supprimer le jeu de réponses " + reponse1 + ", " + reponse2 + " ?\nCela supprimera aussi toutes les questions associé à cette catégorie.", "Supression de réponses", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
510
+				if(JOptionPane.showConfirmDialog(null,"Voulez vous vraiment supprimer le jeu de réponses " + reponse1 + ", " + reponse2 + " ?\nCela supprimera aussi toutes les questions associé à cette catégorie.", "Supression de réponses", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
509 511
 				{
510 512
 					bdd.deleteReponses(reponse1, reponse2);
511 513
 					listR.setListData(bdd.getListeReponses(listC.getSelectedValue().toString()).toArray());
@@ -572,8 +574,6 @@ public class InterfacePrincipale extends JFrame
572 574
 			}
573 575
 			else if(e.getSource() == delQ)
574 576
 			{
575
-				JOptionPane jop = new JOptionPane();
576
-
577 577
 				Question q = (Question) listQ.getSelectedValue();
578 578
 
579 579
 				if(q == null)
@@ -582,7 +582,7 @@ public class InterfacePrincipale extends JFrame
582 582
 					return;
583 583
 				}
584 584
 
585
-				if(jop.showConfirmDialog(null,"Voulez vous vraiment supprimer la question " + q.getIntitule() + " ?", "Supression de question", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
585
+				if(JOptionPane.showConfirmDialog(null, "Voulez vous vraiment supprimer la question " + q.getIntitule() + " ?", "Supression de question", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.OK_OPTION)
586 586
 				{
587 587
 					bdd.deleteQuestion(q.getIntitule(), q.getReponse1(), q.getReponse2());
588 588
 					listQ.setListData(bdd.getListeQuestions(q.getReponse1(), q.getReponse2()).toArray());

+ 1
- 0
java/src/MainAdminBddBurgerQuizz.java Vedi File

@@ -1,4 +1,5 @@
1 1
 import javax.swing.*;
2
+import java.util.Enumeration;
2 3
 
3 4
 public class MainAdminBddBurgerQuizz
4 5
 {

+ 1
- 0
java/src/NouvelleQuestionDialog.java Vedi File

@@ -71,6 +71,7 @@ public class NouvelleQuestionDialog extends JDialog implements ActionListener
71 71
 		else if(e.getSource() == ok) {
72 72
 			if(intitule.getText().isEmpty())
73 73
 			{
74
+				JOptionPane.showMessageDialog(this, "Les champs ne doivent pas être vide.", "Champs non remplis", JOptionPane.WARNING_MESSAGE);
74 75
 				return;
75 76
 			}
76 77
 			mofidEffectues = true;

+ 2
- 1
java/src/NouvelleReponseDialog.java Vedi File

@@ -33,7 +33,7 @@ public class NouvelleReponseDialog extends JDialog implements ActionListener
33 33
 		rep1.setBackground(Color.WHITE);
34 34
 		rep2.setBackground(Color.WHITE);
35 35
 
36
-		ok = new JButton("OK");
36
+		ok = new JButton("OK",  UIManager.getIcon("OptionPane.errorIcon"));
37 37
 		annuler = new JButton("Annuler");
38 38
 		ok.addActionListener(this);
39 39
 		annuler.addActionListener(this);
@@ -86,6 +86,7 @@ public class NouvelleReponseDialog extends JDialog implements ActionListener
86 86
 		else if(e.getSource() == ok) {
87 87
 			if(rep1.getText().isEmpty() || rep2.getText().isEmpty())
88 88
 			{
89
+				JOptionPane.showMessageDialog(this, "Les champs ne doivent pas être vide.", "Champs non remplis", JOptionPane.WARNING_MESSAGE);
89 90
 				return;
90 91
 			}
91 92
 			mofidEffectues = true;