Pārlūkot izejas kodu

modification parametre operationelle

PCYoshi 9 gadus atpakaļ
vecāks
revīzija
8bb37aadb2

+ 282
- 98
java/.idea/workspace.xml Parādīt failu

7
   </component>
7
   </component>
8
   <component name="ChangeListManager">
8
   <component name="ChangeListManager">
9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
10
+      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/ConfigBDD.java" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" afterPath="$PROJECT_DIR$/out/production/java/ConnexionBDD.class" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$1.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$1.class" />
13
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
14
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
15
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBDD.java" afterPath="$PROJECT_DIR$/src/ConnexionBDD.java" />
16
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBddDialog.java" afterPath="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
17
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
10
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
18
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
11
     </list>
19
     </list>
12
     <ignored path="java.iws" />
20
     <ignored path="java.iws" />
29
   </component>
37
   </component>
30
   <component name="FileEditorManager">
38
   <component name="FileEditorManager">
31
     <leaf>
39
     <leaf>
32
-      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
40
+      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="false">
33
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
41
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
34
           <provider selected="true" editor-type-id="text-editor">
42
           <provider selected="true" editor-type-id="text-editor">
35
-            <state vertical-scroll-proportion="0.63323784">
36
-              <caret line="86" column="8" selection-start-line="86" selection-start-column="8" selection-end-line="86" selection-end-column="8" />
43
+            <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" />
37
               <folding>
45
               <folding>
38
-                <element signature="e#3561#3779#0" expanded="true" />
39
-                <element signature="e#3778#3779#0" expanded="true" />
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" />
40
               </folding>
66
               </folding>
41
             </state>
67
             </state>
42
           </provider>
68
           </provider>
43
         </entry>
69
         </entry>
44
       </file>
70
       </file>
45
-      <file leaf-file-name="MainAdminBddBurgerQuizz.java" pinned="false" current-in-tab="false">
46
-        <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
71
+      <file leaf-file-name="ConfigBDD.java" pinned="false" current-in-tab="false">
72
+        <entry file="file://$PROJECT_DIR$/src/ConfigBDD.java">
47
           <provider selected="true" editor-type-id="text-editor">
73
           <provider selected="true" editor-type-id="text-editor">
48
             <state vertical-scroll-proportion="0.0">
74
             <state vertical-scroll-proportion="0.0">
49
-              <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
50
-              <folding />
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>
51
             </state>
101
             </state>
52
           </provider>
102
           </provider>
53
         </entry>
103
         </entry>
54
       </file>
104
       </file>
55
-      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="false">
56
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
105
+      <file leaf-file-name="MainAdminBddBurgerQuizz.java" pinned="false" current-in-tab="false">
106
+        <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
57
           <provider selected="true" editor-type-id="text-editor">
107
           <provider selected="true" editor-type-id="text-editor">
58
             <state vertical-scroll-proportion="0.0">
108
             <state vertical-scroll-proportion="0.0">
59
-              <caret line="96" column="8" selection-start-line="96" selection-start-column="8" selection-end-line="96" selection-end-column="8" />
60
-              <folding>
61
-                <element signature="imports" expanded="true" />
62
-                <element signature="e#2720#2721#0" expanded="true" />
63
-                <element signature="e#2750#2751#0" expanded="true" />
64
-                <element signature="e#2775#2776#0" expanded="true" />
65
-                <element signature="e#2810#2811#0" expanded="true" />
66
-                <element signature="e#2836#2837#0" expanded="true" />
67
-                <element signature="e#2862#2863#0" expanded="true" />
68
-                <element signature="e#2891#2892#0" expanded="true" />
69
-                <element signature="e#2920#2921#0" expanded="true" />
70
-                <element signature="e#2952#2953#0" expanded="true" />
71
-                <element signature="e#3004#3005#0" expanded="true" />
72
-              </folding>
109
+              <caret line="7" column="8" selection-start-line="7" selection-start-column="8" selection-end-line="7" selection-end-column="8" />
110
+              <folding />
73
             </state>
111
             </state>
74
           </provider>
112
           </provider>
75
         </entry>
113
         </entry>
76
       </file>
114
       </file>
77
-      <file leaf-file-name="NouvelleQuestionDialog.java" pinned="false" current-in-tab="false">
78
-        <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
115
+      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
116
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
79
           <provider selected="true" editor-type-id="text-editor">
117
           <provider selected="true" editor-type-id="text-editor">
80
             <state vertical-scroll-proportion="0.0">
118
             <state vertical-scroll-proportion="0.0">
81
-              <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
119
+              <caret line="43" column="14" selection-start-line="43" selection-start-column="14" selection-end-line="43" selection-end-column="14" />
82
               <folding>
120
               <folding>
83
                 <element signature="imports" expanded="true" />
121
                 <element signature="imports" expanded="true" />
84
-                <element signature="e#2002#2003#0" expanded="true" />
85
-                <element signature="e#2034#2035#0" expanded="true" />
86
-                <element signature="e#2062#2063#0" expanded="true" />
87
-                <element signature="e#2102#2103#0" expanded="true" />
88
               </folding>
122
               </folding>
89
             </state>
123
             </state>
90
           </provider>
124
           </provider>
91
         </entry>
125
         </entry>
92
       </file>
126
       </file>
93
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
94
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
127
+      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="true">
128
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
95
           <provider selected="true" editor-type-id="text-editor">
129
           <provider selected="true" editor-type-id="text-editor">
96
-            <state vertical-scroll-proportion="0.0">
97
-              <caret line="39" column="74" selection-start-line="39" selection-start-column="74" selection-end-line="39" selection-end-column="74" />
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" />
98
               <folding>
132
               <folding>
99
                 <element signature="imports" expanded="true" />
133
                 <element signature="imports" expanded="true" />
100
               </folding>
134
               </folding>
132
         <option value="$PROJECT_DIR$/src/GestionCategories.java" />
166
         <option value="$PROJECT_DIR$/src/GestionCategories.java" />
133
         <option value="$PROJECT_DIR$/src/Question.java" />
167
         <option value="$PROJECT_DIR$/src/Question.java" />
134
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
168
         <option value="$PROJECT_DIR$/src/GestionReponses.java" />
135
-        <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
136
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
169
         <option value="$PROJECT_DIR$/src/GestionQuestions.java" />
137
         <option value="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
170
         <option value="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
138
         <option value="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
171
         <option value="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
139
-        <option value="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
140
         <option value="$PROJECT_DIR$/src/Bouton.java" />
172
         <option value="$PROJECT_DIR$/src/Bouton.java" />
141
         <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
173
         <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
174
+        <option value="$PROJECT_DIR$/src/configBDD.java" />
175
+        <option value="$PROJECT_DIR$/src/ConfigBDD.java" />
176
+        <option value="$PROJECT_DIR$/src/ConnexionBDD.java" />
142
         <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
177
         <option value="$PROJECT_DIR$/src/InterfacePrincipale.java" />
178
+        <option value="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
143
       </list>
179
       </list>
144
     </option>
180
     </option>
145
   </component>
181
   </component>
260
     <panes>
296
     <panes>
261
       <pane id="Scratches" />
297
       <pane id="Scratches" />
262
       <pane id="PackagesPane" />
298
       <pane id="PackagesPane" />
299
+      <pane id="Scope" />
263
       <pane id="ProjectPane">
300
       <pane id="ProjectPane">
264
         <subPane>
301
         <subPane>
265
           <PATH>
302
           <PATH>
294
           </PATH>
331
           </PATH>
295
         </subPane>
332
         </subPane>
296
       </pane>
333
       </pane>
297
-      <pane id="Scope" />
298
     </panes>
334
     </panes>
299
   </component>
335
   </component>
300
   <component name="PropertiesComponent">
336
   <component name="PropertiesComponent">
625
       <option name="project" value="LOCAL" />
661
       <option name="project" value="LOCAL" />
626
       <updated>1433351854490</updated>
662
       <updated>1433351854490</updated>
627
     </task>
663
     </task>
628
-    <option name="localTasksCounter" value="24" />
664
+    <task id="LOCAL-00024" summary="amelioration diverse concernant la boite de dialogue des parametres">
665
+      <created>1433352072706</created>
666
+      <option name="number" value="00024" />
667
+      <option name="project" value="LOCAL" />
668
+      <updated>1433352072706</updated>
669
+    </task>
670
+    <option name="localTasksCounter" value="25" />
629
     <servers />
671
     <servers />
630
   </component>
672
   </component>
631
   <component name="TodoView">
673
   <component name="TodoView">
639
   </component>
681
   </component>
640
   <component name="ToolWindowManager">
682
   <component name="ToolWindowManager">
641
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
683
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
642
-    <editor active="false" />
684
+    <editor active="true" />
643
     <layout>
685
     <layout>
644
       <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" />
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" />
645
       <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" />
687
       <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" />
650
       <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" />
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" />
651
       <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" />
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" />
652
       <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" />
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" />
653
-      <window_info id="Version Control" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32864675" sideWeight="0.49695587" order="10" side_tool="false" 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" />
654
       <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" />
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" />
655
       <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" />
697
       <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" />
656
       <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" />
698
       <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" />
662
       <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" />
704
       <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" />
663
       <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" />
705
       <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" />
664
       <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" />
706
       <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" />
665
-      <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" />
666
       <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" />
707
       <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
+      <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" />
667
     </layout>
709
     </layout>
668
   </component>
710
   </component>
669
   <component name="Vcs.Log.UiProperties">
711
   <component name="Vcs.Log.UiProperties">
712
     <option name="FILTER_TARGETS" value="false" />
754
     <option name="FILTER_TARGETS" value="false" />
713
   </component>
755
   </component>
714
   <component name="editorHistoryManager">
756
   <component name="editorHistoryManager">
715
-    <entry file="file://$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java">
716
-      <provider selected="true" editor-type-id="text-editor">
717
-        <state vertical-scroll-proportion="0.0">
718
-          <caret line="8" column="75" selection-start-line="8" selection-start-column="75" selection-end-line="8" selection-end-column="75" />
719
-        </state>
720
-      </provider>
721
-    </entry>
722
-    <entry file="file://$PROJECT_DIR$/src/Bouton.java">
723
-      <provider selected="true" editor-type-id="text-editor">
724
-        <state vertical-scroll-proportion="0.0">
725
-          <caret line="11" column="73" selection-start-line="11" selection-start-column="10" selection-end-line="11" selection-end-column="73" />
726
-        </state>
727
-      </provider>
728
-    </entry>
729
     <entry file="file://$PROJECT_DIR$/mcd.png">
757
     <entry file="file://$PROJECT_DIR$/mcd.png">
730
       <provider selected="true" editor-type-id="images">
758
       <provider selected="true" editor-type-id="images">
731
         <state />
759
         <state />
741
         <state vertical-scroll-proportion="0.0">
769
         <state vertical-scroll-proportion="0.0">
742
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
770
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
743
           <folding>
771
           <folding>
744
-            <element signature="e#3561#3779#0" expanded="true" />
745
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
746
           </folding>
792
           </folding>
747
         </state>
793
         </state>
748
       </provider>
794
       </provider>
776
         <state vertical-scroll-proportion="0.0">
822
         <state vertical-scroll-proportion="0.0">
777
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
823
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
778
           <folding>
824
           <folding>
779
-            <element signature="e#3561#3779#0" expanded="true" />
780
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
781
           </folding>
845
           </folding>
782
         </state>
846
         </state>
783
       </provider>
847
       </provider>
811
         <state vertical-scroll-proportion="0.0">
875
         <state vertical-scroll-proportion="0.0">
812
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
876
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
813
           <folding>
877
           <folding>
814
-            <element signature="e#3561#3779#0" expanded="true" />
815
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
816
           </folding>
898
           </folding>
817
         </state>
899
         </state>
818
       </provider>
900
       </provider>
846
         <state vertical-scroll-proportion="0.0">
928
         <state vertical-scroll-proportion="0.0">
847
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
929
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
848
           <folding>
930
           <folding>
849
-            <element signature="e#3561#3779#0" expanded="true" />
850
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
851
           </folding>
951
           </folding>
852
         </state>
952
         </state>
853
       </provider>
953
       </provider>
881
         <state vertical-scroll-proportion="0.0">
981
         <state vertical-scroll-proportion="0.0">
882
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
982
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
883
           <folding>
983
           <folding>
884
-            <element signature="e#3561#3779#0" expanded="true" />
885
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
886
           </folding>
1004
           </folding>
887
         </state>
1005
         </state>
888
       </provider>
1006
       </provider>
937
         <state vertical-scroll-proportion="0.0">
1055
         <state vertical-scroll-proportion="0.0">
938
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1056
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
939
           <folding>
1057
           <folding>
940
-            <element signature="e#3561#3779#0" expanded="true" />
941
-            <element signature="e#3778#3779#0" expanded="true" />
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" />
942
           </folding>
1078
           </folding>
943
         </state>
1079
         </state>
944
       </provider>
1080
       </provider>
1025
         </state>
1161
         </state>
1026
       </provider>
1162
       </provider>
1027
     </entry>
1163
     </entry>
1028
-    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
1164
+    <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1029
       <provider selected="true" editor-type-id="text-editor">
1165
       <provider selected="true" editor-type-id="text-editor">
1030
         <state vertical-scroll-proportion="0.0">
1166
         <state vertical-scroll-proportion="0.0">
1031
-          <caret line="39" column="74" selection-start-line="39" selection-start-column="74" selection-end-line="39" selection-end-column="74" />
1167
+          <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
1032
           <folding>
1168
           <folding>
1033
-            <element signature="imports" expanded="true" />
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" />
1034
           </folding>
1174
           </folding>
1035
         </state>
1175
         </state>
1036
       </provider>
1176
       </provider>
1037
     </entry>
1177
     </entry>
1038
-    <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1178
+    <entry file="file://$PROJECT_DIR$/src/Bouton.java">
1039
       <provider selected="true" editor-type-id="text-editor">
1179
       <provider selected="true" editor-type-id="text-editor">
1040
-        <state vertical-scroll-proportion="0.0">
1041
-          <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
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" />
1042
           <folding>
1182
           <folding>
1043
             <element signature="imports" expanded="true" />
1183
             <element signature="imports" expanded="true" />
1044
-            <element signature="e#2002#2003#0" expanded="true" />
1045
-            <element signature="e#2034#2035#0" expanded="true" />
1046
-            <element signature="e#2062#2063#0" expanded="true" />
1047
-            <element signature="e#2102#2103#0" expanded="true" />
1048
           </folding>
1184
           </folding>
1049
         </state>
1185
         </state>
1050
       </provider>
1186
       </provider>
1051
     </entry>
1187
     </entry>
1052
-    <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1188
+    <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
1053
       <provider selected="true" editor-type-id="text-editor">
1189
       <provider selected="true" editor-type-id="text-editor">
1054
         <state vertical-scroll-proportion="0.0">
1190
         <state vertical-scroll-proportion="0.0">
1055
-          <caret line="96" column="8" selection-start-line="96" selection-start-column="8" selection-end-line="96" selection-end-column="8" />
1191
+          <caret line="43" column="14" selection-start-line="43" selection-start-column="14" selection-end-line="43" selection-end-column="14" />
1056
           <folding>
1192
           <folding>
1057
             <element signature="imports" expanded="true" />
1193
             <element signature="imports" expanded="true" />
1058
-            <element signature="e#2720#2721#0" expanded="true" />
1059
-            <element signature="e#2750#2751#0" expanded="true" />
1060
-            <element signature="e#2775#2776#0" expanded="true" />
1061
-            <element signature="e#2810#2811#0" expanded="true" />
1062
-            <element signature="e#2836#2837#0" expanded="true" />
1063
-            <element signature="e#2862#2863#0" expanded="true" />
1064
-            <element signature="e#2891#2892#0" expanded="true" />
1065
-            <element signature="e#2920#2921#0" expanded="true" />
1066
-            <element signature="e#2952#2953#0" expanded="true" />
1067
-            <element signature="e#3004#3005#0" expanded="true" />
1068
           </folding>
1194
           </folding>
1069
         </state>
1195
         </state>
1070
       </provider>
1196
       </provider>
1077
         </state>
1203
         </state>
1078
       </provider>
1204
       </provider>
1079
     </entry>
1205
     </entry>
1080
-    <entry file="file://$PROJECT_DIR$/src/Bouton.java">
1206
+    <entry file="file://$PROJECT_DIR$/conf.xml">
1081
       <provider selected="true" editor-type-id="text-editor">
1207
       <provider selected="true" editor-type-id="text-editor">
1082
-        <state vertical-scroll-proportion="0.20165746">
1083
-          <caret line="6" column="40" selection-start-line="6" selection-start-column="40" selection-end-line="6" selection-end-column="40" />
1208
+        <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" />
1210
+          <folding />
1211
+        </state>
1212
+      </provider>
1213
+    </entry>
1214
+    <entry file="file://$PROJECT_DIR$/src/ConfigBDD.java">
1215
+      <provider selected="true" editor-type-id="text-editor">
1216
+        <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" />
1084
           <folding>
1218
           <folding>
1085
             <element signature="imports" expanded="true" />
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" />
1086
           </folding>
1242
           </folding>
1087
         </state>
1243
         </state>
1088
       </provider>
1244
       </provider>
1089
     </entry>
1245
     </entry>
1090
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1246
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1091
       <provider selected="true" editor-type-id="text-editor">
1247
       <provider selected="true" editor-type-id="text-editor">
1092
-        <state vertical-scroll-proportion="0.63323784">
1093
-          <caret line="86" column="8" selection-start-line="86" selection-start-column="8" selection-end-line="86" selection-end-column="8" />
1248
+        <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" />
1094
           <folding>
1250
           <folding>
1095
-            <element signature="e#3561#3779#0" expanded="true" />
1096
-            <element signature="e#3778#3779#0" expanded="true" />
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>
1272
+        </state>
1273
+      </provider>
1274
+    </entry>
1275
+    <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1276
+      <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" />
1279
+          <folding>
1280
+            <element signature="imports" expanded="true" />
1097
           </folding>
1281
           </folding>
1098
         </state>
1282
         </state>
1099
       </provider>
1283
       </provider>

Binārs
java/out/production/java/ConnexionBDD.class Parādīt failu


Binārs
java/out/production/java/InterfacePrincipale$1.class Parādīt failu


Binārs
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class Parādīt failu


Binārs
java/out/production/java/InterfacePrincipale$PanReponsesListener.class Parādīt failu


+ 90
- 0
java/src/ConfigBDD.java Parādīt failu

1
+import java.io.*;
2
+import java.util.Properties;
3
+
4
+public class ConfigBDD
5
+{
6
+	private Properties conf;
7
+
8
+	public ConfigBDD() {
9
+		conf = new Properties();
10
+	}
11
+
12
+	public boolean loadConf()
13
+	{
14
+		try
15
+		{
16
+			conf.loadFromXML(new FileInputStream("conf.xml"));
17
+			return true;
18
+		}
19
+		catch (IOException e)
20
+		{
21
+			loadDefaultConf();
22
+			saveConf();
23
+			e.printStackTrace();
24
+			return false;
25
+		}
26
+	}
27
+
28
+	public boolean saveConf()
29
+	{
30
+		try
31
+		{
32
+			conf.storeToXML(new FileOutputStream("conf.xml"), "Configuration de l'aplication de gestion du jeu BurgerQuizz");
33
+			return true;
34
+		}
35
+		catch (IOException e)
36
+		{
37
+			e.printStackTrace();
38
+			return false;
39
+		}
40
+	}
41
+
42
+	public void loadDefaultConf()
43
+	{
44
+		conf.setProperty("nomBdd", "burgerquizz");
45
+		conf.setProperty("port", "3306");
46
+		conf.setProperty("ip", "localhost");
47
+		conf.setProperty("login", "alain");
48
+		conf.setProperty("password", "chabat");
49
+	}
50
+
51
+	public String getNomBdd() {
52
+		return conf.getProperty("nomBdd");
53
+	}
54
+
55
+	public void setNomBdd(String nomBdd) {
56
+		conf.setProperty("nomBdd", nomBdd);
57
+	}
58
+
59
+	public int getPort() {
60
+		return Integer.parseInt(conf.getProperty("port"));
61
+	}
62
+
63
+	public void setPort(int port) {
64
+		conf.setProperty("port", String.valueOf(port));
65
+	}
66
+
67
+	public String getIp() {
68
+		return conf.getProperty("ip");
69
+	}
70
+
71
+	public void setIp(String ip) {
72
+		conf.setProperty("ip", ip);
73
+	}
74
+
75
+	public String getLogin() {
76
+		return conf.getProperty("login");
77
+	}
78
+
79
+	public void setLogin(String login) {
80
+		conf.setProperty("login", login);
81
+	}
82
+
83
+	public String getPassword() {
84
+		return conf.getProperty("password");
85
+	}
86
+
87
+	public void setPassword(String password) {
88
+		conf.setProperty("password", password);
89
+	}
90
+}

+ 8
- 5
java/src/ConnexionBDD.java Parādīt failu

6
 public class ConnexionBDD
6
 public class ConnexionBDD
7
 {
7
 {
8
 	Connection connexionbdd;
8
 	Connection connexionbdd;
9
-	String nomBdd;
10
 	GestionCategories gestionCategories;
9
 	GestionCategories gestionCategories;
11
 	GestionReponses gestionReponses;
10
 	GestionReponses gestionReponses;
12
 	GestionQuestions gestionQuestions;
11
 	GestionQuestions gestionQuestions;
13
 
12
 
14
-	public ConnexionBDD(String nomBdd, int port, String ip, String login, String password)
13
+	public ConnexionBDD()
15
 	{
14
 	{
16
-		this.nomBdd = nomBdd;
17
-
18
 		try
15
 		try
19
 		{
16
 		{
20
 			Class.forName("com.mysql.jdbc.Driver");
17
 			Class.forName("com.mysql.jdbc.Driver");
24
 			e.printStackTrace();
21
 			e.printStackTrace();
25
 			System.exit(1);
22
 			System.exit(1);
26
 		}
23
 		}
24
+	}
27
 
25
 
26
+	public boolean connect(String nomBdd, int port, String ip, String login, String password)
27
+	{
28
 		try
28
 		try
29
 		{
29
 		{
30
 			String url = "jdbc:mysql://" + ip + ":" + port + "/" + nomBdd;
30
 			String url = "jdbc:mysql://" + ip + ":" + port + "/" + nomBdd;
33
 			gestionCategories = new GestionCategories(connexionbdd);
33
 			gestionCategories = new GestionCategories(connexionbdd);
34
 			gestionReponses = new GestionReponses(connexionbdd);
34
 			gestionReponses = new GestionReponses(connexionbdd);
35
 			gestionQuestions = new GestionQuestions(connexionbdd);
35
 			gestionQuestions = new GestionQuestions(connexionbdd);
36
+
37
+			return true;
36
 		}
38
 		}
37
 		catch(SQLException e)
39
 		catch(SQLException e)
38
 		{
40
 		{
39
 			e.printStackTrace();
41
 			e.printStackTrace();
40
 			System.out.println("Erreur de conexion à la base de données");
42
 			System.out.println("Erreur de conexion à la base de données");
41
-			System.exit(1);
43
+			return false;
44
+			//System.exit(1);
42
 		}
45
 		}
43
 	}
46
 	}
44
 
47
 

+ 18
- 5
java/src/ConnexionBddDialog.java Parādīt failu

16
 	private JButton ok;
16
 	private JButton ok;
17
 	private JButton annuler;
17
 	private JButton annuler;
18
 	private JButton defParams;
18
 	private JButton defParams;
19
+	private JButton quitter;
19
 	private boolean modifEffectuees;
20
 	private boolean modifEffectuees;
20
 
21
 
21
-	public ConnexionBddDialog(String nomBdd, int port, String ip, String login, String password, JFrame parent)
22
+	public ConnexionBddDialog(String nomBdd, int port, String ip, String login, String password, JFrame parent, boolean showExitButton)
22
 	{
23
 	{
23
 		super(parent, "Paramétres BDD", true);
24
 		super(parent, "Paramétres BDD", true);
24
 		modifEffectuees = false;
25
 		modifEffectuees = false;
25
-		createInterface(nomBdd, port, ip, login, password);
26
+		createInterface(nomBdd, port, ip, login, password, showExitButton);
26
 		pack();
27
 		pack();
27
 		setLocationRelativeTo(null);
28
 		setLocationRelativeTo(null);
28
 		setResizable(false);
29
 		setResizable(false);
29
 	}
30
 	}
30
 
31
 
31
-	private void createInterface(String defNomBdd, int defPort, String defIP, String defLogin, String defPassword)
32
+	private void createInterface(String defNomBdd, int defPort, String defIP, String defLogin, String defPassword, boolean showExitButton)
32
 	{
33
 	{
33
 		nomBdd = new JTextField(defNomBdd, 30);
34
 		nomBdd = new JTextField(defNomBdd, 30);
34
 		port = new JFormattedTextField(NumberFormat.getInstance());
35
 		port = new JFormattedTextField(NumberFormat.getInstance());
46
 		ok = new JButton("OK");
47
 		ok = new JButton("OK");
47
 		annuler = new JButton("Annuler");
48
 		annuler = new JButton("Annuler");
48
 		defParams = new JButton("Paramétres de connexion par défault");
49
 		defParams = new JButton("Paramétres de connexion par défault");
50
+		quitter = new JButton("Quitter l'aplication");
49
 
51
 
50
 		ok.addActionListener(this);
52
 		ok.addActionListener(this);
51
 		annuler.addActionListener(this);
53
 		annuler.addActionListener(this);
52
 		defParams.addActionListener(this);
54
 		defParams.addActionListener(this);
55
+		quitter.addActionListener(this);
53
 
56
 
54
 		JPanel fieldPanel = new JPanel();
57
 		JPanel fieldPanel = new JPanel();
55
 		JPanel boutons = new JPanel();
58
 		JPanel boutons = new JPanel();
66
 		fieldPanel.add(new JLabel("Mot de passe utilisateur:"));
69
 		fieldPanel.add(new JLabel("Mot de passe utilisateur:"));
67
 		fieldPanel.add(password);
70
 		fieldPanel.add(password);
68
 
71
 
69
-		boutons.add(annuler);
72
+		if(!showExitButton)boutons.add(annuler);
70
 		boutons.add(defParams);
73
 		boutons.add(defParams);
71
 		boutons.add(ok);
74
 		boutons.add(ok);
75
+		if(showExitButton)boutons.add(quitter);
72
 
76
 
73
 		getContentPane().add(fieldPanel, BorderLayout.CENTER);
77
 		getContentPane().add(fieldPanel, BorderLayout.CENTER);
74
 		getContentPane().add(boutons, BorderLayout.SOUTH);
78
 		getContentPane().add(boutons, BorderLayout.SOUTH);
90
 			login.setText("alain");
94
 			login.setText("alain");
91
 			password.setText("chabat");
95
 			password.setText("chabat");
92
 		}
96
 		}
93
-		else
97
+		else if(e.getSource() == annuler)
94
 		{
98
 		{
95
 			modifEffectuees = false;
99
 			modifEffectuees = false;
96
 			setVisible(false);
100
 			setVisible(false);
97
 		}
101
 		}
102
+		else if(e.getSource() == ok)
103
+		{
104
+			modifEffectuees = true;
105
+			setVisible(false);
106
+		}
107
+		else if(e.getSource() == quitter)
108
+		{
109
+			System.exit(0);
110
+		}
98
 	}
111
 	}
99
 
112
 
100
 	public String getNomBdd() {
113
 	public String getNomBdd() {

+ 32
- 3
java/src/InterfacePrincipale.java Parādīt failu

47
 
47
 
48
 	//objet bdd
48
 	//objet bdd
49
 	private ConnexionBDD bdd;
49
 	private ConnexionBDD bdd;
50
+	private ConfigBDD configBDD;
50
 
51
 
51
 	public InterfacePrincipale()
52
 	public InterfacePrincipale()
52
 	{
53
 	{
53
-		bdd = new ConnexionBDD("burgerquizz", 3306, "localhost", "alain", "chabat");
54
+		configBDD = new ConfigBDD();
55
+		configBDD.loadConf();
56
+		bdd = new ConnexionBDD();
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);
54
 
67
 
55
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
68
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
56
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
69
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
123
 
136
 
124
 		config.addActionListener(new ActionListener() {
137
 		config.addActionListener(new ActionListener() {
125
 			public void actionPerformed(ActionEvent actionEvent) {
138
 			public void actionPerformed(ActionEvent actionEvent) {
126
-				ConnexionBddDialog cbddd = new ConnexionBddDialog("efr",85,"42:42:42:42","eflgr","fmr,grgerge", null);
127
-				cbddd.afficher();
139
+				configureBDD(false);
128
 			}
140
 			}
129
 		});
141
 		});
130
 	}
142
 	}
284
 		pack();
296
 		pack();
285
 	}
297
 	}
286
 
298
 
299
+	public void configureBDD(boolean showExitButton)
300
+	{
301
+		ConnexionBddDialog cbddd = new ConnexionBddDialog(configBDD.getNomBdd(), configBDD.getPort(),
302
+				configBDD.getIp(), configBDD.getLogin(),
303
+				configBDD.getPassword(), null, showExitButton);
304
+		if(cbddd.afficher() == true)
305
+		{
306
+			configBDD.setNomBdd(cbddd.getNomBdd());
307
+			configBDD.setIp(cbddd.getIp());
308
+			configBDD.setPort(cbddd.getPort());
309
+			configBDD.setLogin(cbddd.getLogin());
310
+			configBDD.setPassword(cbddd.getPassword());
311
+
312
+			configBDD.saveConf();
313
+		}
314
+	}
315
+
287
 	private void reSelectCategorie(String newCatName)
316
 	private void reSelectCategorie(String newCatName)
288
 	{
317
 	{
289
 		Object[] tabObject = bdd.getListeCategorie().toArray();
318
 		Object[] tabObject = bdd.getListeCategorie().toArray();