Browse Source

java final

PCYoshi 9 years ago
parent
commit
18d2416bee
3 changed files with 107 additions and 137 deletions
  1. 18
    0
      java/.idea/misc.xml
  2. 85
    112
      java/.idea/workspace.xml
  3. 4
    25
      java/src/InterfaceGraphique/InterfacePrincipale.java

+ 18
- 0
java/.idea/misc.xml View File

41
   <component name="EntryPointsManager">
41
   <component name="EntryPointsManager">
42
     <entry_points version="2.0" />
42
     <entry_points version="2.0" />
43
   </component>
43
   </component>
44
+  <component name="JavadocGenerationManager">
45
+    <option name="OUTPUT_DIRECTORY" />
46
+    <option name="OPTION_SCOPE" value="protected" />
47
+    <option name="OPTION_HIERARCHY" value="true" />
48
+    <option name="OPTION_NAVIGATOR" value="true" />
49
+    <option name="OPTION_INDEX" value="true" />
50
+    <option name="OPTION_SEPARATE_INDEX" value="true" />
51
+    <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
52
+    <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
53
+    <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
54
+    <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
55
+    <option name="OPTION_DEPRECATED_LIST" value="true" />
56
+    <option name="OTHER_OPTIONS" value="" />
57
+    <option name="HEAP_SIZE" />
58
+    <option name="LOCALE" />
59
+    <option name="OPEN_IN_BROWSER" value="true" />
60
+    <option name="OPTION_INCLUDE_LIBS" value="false" />
61
+  </component>
44
   <component name="ProjectKey">
62
   <component name="ProjectKey">
45
     <option name="state" value="project://e2804f05-5315-4fc6-a121-c522a6c26470" />
63
     <option name="state" value="project://e2804f05-5315-4fc6-a121-c522a6c26470" />
46
   </component>
64
   </component>

+ 85
- 112
java/.idea/workspace.xml View File

7
   </component>
7
   </component>
8
   <component name="ChangeListManager">
8
   <component name="ChangeListManager">
9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
9
     <list default="true" id="a647cb6a-4230-4101-a652-d7cfd0c21e24" name="Default" comment="">
10
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" afterPath="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" />
11
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java" afterPath="$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java" />
12
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" />
13
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
10
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
14
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" afterPath="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
15
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
12
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
16
     </list>
13
     </list>
17
     <ignored path="java.iws" />
14
     <ignored path="java.iws" />
34
   </component>
31
   </component>
35
   <component name="FileEditorManager">
32
   <component name="FileEditorManager">
36
     <leaf>
33
     <leaf>
37
-      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
34
+      <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="false">
38
         <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
35
         <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
39
           <provider selected="true" editor-type-id="text-editor">
36
           <provider selected="true" editor-type-id="text-editor">
40
-            <state vertical-scroll-proportion="-0.15858209">
41
-              <caret line="367" column="35" selection-start-line="367" selection-start-column="35" selection-end-line="367" selection-end-column="35" />
37
+            <state vertical-scroll-proportion="0.0">
38
+              <caret line="65" column="61" selection-start-line="65" selection-start-column="61" selection-end-line="65" selection-end-column="61" />
42
               <folding>
39
               <folding>
43
                 <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
40
                 <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
44
-                <element signature="e#4910#5380#0" expanded="true" />
45
-                <element signature="e#5379#5380#0" expanded="true" />
41
+                <element signature="e#4847#5313#0" expanded="true" />
42
+                <element signature="e#5312#5313#0" expanded="true" />
46
                 <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
43
                 <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
47
                 <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
44
                 <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
48
                 <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
45
                 <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
73
         <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
70
         <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
74
           <provider selected="true" editor-type-id="text-editor">
71
           <provider selected="true" editor-type-id="text-editor">
75
             <state vertical-scroll-proportion="0.0">
72
             <state vertical-scroll-proportion="0.0">
76
-              <caret line="124" column="64" selection-start-line="124" selection-start-column="64" selection-end-line="124" selection-end-column="64" />
73
+              <caret line="30" column="0" selection-start-line="30" selection-start-column="0" selection-end-line="30" selection-end-column="0" />
77
               <folding>
74
               <folding>
78
                 <element signature="e#3462#3463#0" expanded="true" />
75
                 <element signature="e#3462#3463#0" expanded="true" />
79
                 <element signature="e#3525#3526#0" expanded="true" />
76
                 <element signature="e#3525#3526#0" expanded="true" />
89
               <caret line="59" column="0" selection-start-line="59" selection-start-column="0" selection-end-line="59" selection-end-column="0" />
86
               <caret line="59" column="0" selection-start-line="59" selection-start-column="0" selection-end-line="59" selection-end-column="0" />
90
               <folding>
87
               <folding>
91
                 <element signature="imports" expanded="true" />
88
                 <element signature="imports" expanded="true" />
92
-                <element signature="e#144#145#0" expanded="true" />
93
-                <element signature="e#174#175#0" expanded="true" />
94
-                <element signature="e#954#955#0" expanded="true" />
95
-                <element signature="e#994#995#0" expanded="true" />
96
-                <element signature="e#1035#1036#0" expanded="true" />
97
-                <element signature="e#1076#1077#0" expanded="true" />
98
-                <element signature="e#1101#1102#0" expanded="true" />
99
-                <element signature="e#1157#1158#0" expanded="true" />
100
-                <element signature="e#1192#1193#0" expanded="true" />
101
-                <element signature="e#1245#1246#0" expanded="true" />
102
-                <element signature="e#1271#1272#0" expanded="true" />
103
-                <element signature="e#1307#1308#0" expanded="true" />
104
-                <element signature="e#1340#1341#0" expanded="true" />
105
-                <element signature="e#1373#1374#0" expanded="true" />
106
-                <element signature="e#1402#1403#0" expanded="true" />
107
-                <element signature="e#1441#1442#0" expanded="true" />
108
-                <element signature="e#1480#1481#0" expanded="true" />
109
-                <element signature="e#1519#1520#0" expanded="true" />
110
-                <element signature="e#1551#1552#0" expanded="true" />
111
-                <element signature="e#1593#1594#0" expanded="true" />
112
-                <element signature="e#1638#1639#0" expanded="true" />
113
-                <element signature="e#1683#1684#0" expanded="true" />
114
               </folding>
89
               </folding>
115
             </state>
90
             </state>
116
           </provider>
91
           </provider>
117
         </entry>
92
         </entry>
118
       </file>
93
       </file>
119
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
94
+      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="true">
120
         <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java">
95
         <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java">
121
           <provider selected="true" editor-type-id="text-editor">
96
           <provider selected="true" editor-type-id="text-editor">
122
-            <state vertical-scroll-proportion="0.0">
123
-              <caret line="40" column="43" selection-start-line="40" selection-start-column="43" selection-end-line="40" selection-end-column="43" />
97
+            <state vertical-scroll-proportion="0.31716418">
98
+              <caret line="21" column="0" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" />
124
               <folding />
99
               <folding />
125
             </state>
100
             </state>
126
           </provider>
101
           </provider>
192
         <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
167
         <option value="$PROJECT_DIR$/src/MainAdminBddBurgerQuizz.java" />
193
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
168
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/SplashScreen.java" />
194
         <option value="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" />
169
         <option value="$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java" />
195
-        <option value="$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java" />
196
-        <option value="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" />
170
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/W.java" />
171
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/WaitWindow.java" />
197
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
172
         <option value="$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java" />
173
+        <option value="$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java" />
174
+        <option value="$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java" />
198
       </list>
175
       </list>
199
     </option>
176
     </option>
200
   </component>
177
   </component>
313
       <sortByType />
290
       <sortByType />
314
     </navigator>
291
     </navigator>
315
     <panes>
292
     <panes>
316
-      <pane id="Scratches" />
317
       <pane id="PackagesPane" />
293
       <pane id="PackagesPane" />
318
       <pane id="ProjectPane">
294
       <pane id="ProjectPane">
319
         <subPane>
295
         <subPane>
443
           </PATH>
419
           </PATH>
444
         </subPane>
420
         </subPane>
445
       </pane>
421
       </pane>
422
+      <pane id="Scratches" />
446
       <pane id="Scope" />
423
       <pane id="Scope" />
447
     </panes>
424
     </panes>
448
   </component>
425
   </component>
466
     <property name="GenerateAntBuildDialog.generateIdeaHomeProperty" value="false" />
443
     <property name="GenerateAntBuildDialog.generateIdeaHomeProperty" value="false" />
467
     <property name="GenerateAntBuildDialog.outputFileNameProperty" value="java" />
444
     <property name="GenerateAntBuildDialog.outputFileNameProperty" value="java" />
468
     <property name="SearchEverywhereHistoryKey" value="printStack&#9;null&#9;null" />
445
     <property name="SearchEverywhereHistoryKey" value="printStack&#9;null&#9;null" />
446
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="79" />
447
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
448
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="95" />
449
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder1" value="1" />
450
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="101" />
451
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder2" value="2" />
452
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="998" />
453
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder3" value="3" />
454
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="78" />
455
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder0" value="0" />
456
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="93" />
457
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder1" value="1" />
458
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="99" />
459
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder2" value="2" />
460
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="1003" />
461
+    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
469
   </component>
462
   </component>
470
   <component name="RecentsManager">
463
   <component name="RecentsManager">
471
     <key name="ExtractSuperBase.RECENT_KEYS">
464
     <key name="ExtractSuperBase.RECENT_KEYS">
472
       <recent name="" />
465
       <recent name="" />
473
     </key>
466
     </key>
474
     <key name="CreateClassDialog.RecentsKey">
467
     <key name="CreateClassDialog.RecentsKey">
468
+      <recent name="InterfaceGraphique" />
475
       <recent name="" />
469
       <recent name="" />
476
     </key>
470
     </key>
477
     <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
471
     <key name="MoveClassesOrPackagesDialog.RECENTS_KEY">
862
       <option name="project" value="LOCAL" />
856
       <option name="project" value="LOCAL" />
863
       <updated>1433798842364</updated>
857
       <updated>1433798842364</updated>
864
     </task>
858
     </task>
865
-    <option name="localTasksCounter" value="37" />
859
+    <task id="LOCAL-00037" summary="splashscreen créé + .jar compilé">
860
+      <created>1433860709572</created>
861
+      <option name="number" value="00037" />
862
+      <option name="project" value="LOCAL" />
863
+      <updated>1433860709572</updated>
864
+    </task>
865
+    <option name="localTasksCounter" value="38" />
866
     <servers />
866
     <servers />
867
   </component>
867
   </component>
868
   <component name="TodoView">
868
   <component name="TodoView">
899
       <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="2" side_tool="false" content_ui="tabs" />
899
       <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="2" side_tool="false" content_ui="tabs" />
900
       <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" />
900
       <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" />
901
       <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" />
901
       <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" />
902
-      <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="3" side_tool="false" content_ui="tabs" />
903
       <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" />
902
       <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" />
903
+      <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="3" side_tool="false" content_ui="tabs" />
904
     </layout>
904
     </layout>
905
   </component>
905
   </component>
906
   <component name="Vcs.Log.UiProperties">
906
   <component name="Vcs.Log.UiProperties">
956
     <option name="FILTER_TARGETS" value="false" />
956
     <option name="FILTER_TARGETS" value="false" />
957
   </component>
957
   </component>
958
   <component name="editorHistoryManager">
958
   <component name="editorHistoryManager">
959
-    <entry file="file://$PROJECT_DIR$/mcd.png">
960
-      <provider selected="true" editor-type-id="images">
961
-        <state />
962
-      </provider>
963
-    </entry>
964
     <entry file="file://$PROJECT_DIR$/java.png">
959
     <entry file="file://$PROJECT_DIR$/java.png">
965
       <provider selected="true" editor-type-id="images">
960
       <provider selected="true" editor-type-id="images">
966
         <state />
961
         <state />
972
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
967
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
973
           <folding>
968
           <folding>
974
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
969
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
975
-            <element signature="e#4910#5380#0" expanded="true" />
976
-            <element signature="e#5379#5380#0" expanded="true" />
970
+            <element signature="e#4847#5313#0" expanded="true" />
971
+            <element signature="e#5312#5313#0" expanded="true" />
977
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
972
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
978
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
973
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
979
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
974
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1029
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1024
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1030
           <folding>
1025
           <folding>
1031
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1026
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1032
-            <element signature="e#4910#5380#0" expanded="true" />
1033
-            <element signature="e#5379#5380#0" expanded="true" />
1027
+            <element signature="e#4847#5313#0" expanded="true" />
1028
+            <element signature="e#5312#5313#0" expanded="true" />
1034
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1029
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1035
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1030
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1036
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1031
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1086
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1081
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1087
           <folding>
1082
           <folding>
1088
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1083
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1089
-            <element signature="e#4910#5380#0" expanded="true" />
1090
-            <element signature="e#5379#5380#0" expanded="true" />
1084
+            <element signature="e#4847#5313#0" expanded="true" />
1085
+            <element signature="e#5312#5313#0" expanded="true" />
1091
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1086
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1092
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1087
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1093
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1088
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1143
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1138
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1144
           <folding>
1139
           <folding>
1145
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1140
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1146
-            <element signature="e#4910#5380#0" expanded="true" />
1147
-            <element signature="e#5379#5380#0" expanded="true" />
1141
+            <element signature="e#4847#5313#0" expanded="true" />
1142
+            <element signature="e#5312#5313#0" expanded="true" />
1148
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1143
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1149
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1144
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1150
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1145
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1200
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1195
           <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1201
           <folding>
1196
           <folding>
1202
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1197
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1203
-            <element signature="e#4910#5380#0" expanded="true" />
1204
-            <element signature="e#5379#5380#0" expanded="true" />
1198
+            <element signature="e#4847#5313#0" expanded="true" />
1199
+            <element signature="e#5312#5313#0" expanded="true" />
1205
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1200
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1206
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1201
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1207
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1202
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1278
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1273
           <caret line="0" column="21" selection-start-line="0" selection-start-column="21" selection-end-line="0" selection-end-column="21" />
1279
           <folding>
1274
           <folding>
1280
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1275
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1281
-            <element signature="e#4910#5380#0" expanded="true" />
1282
-            <element signature="e#5379#5380#0" expanded="true" />
1276
+            <element signature="e#4847#5313#0" expanded="true" />
1277
+            <element signature="e#5312#5313#0" expanded="true" />
1283
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1278
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1284
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1279
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1285
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1280
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1421
         </state>
1416
         </state>
1422
       </provider>
1417
       </provider>
1423
     </entry>
1418
     </entry>
1424
-    <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java">
1425
-      <provider selected="true" editor-type-id="text-editor">
1426
-        <state vertical-scroll-proportion="0.0">
1427
-          <caret line="59" column="0" selection-start-line="59" selection-start-column="0" selection-end-line="59" selection-end-column="0" />
1428
-          <folding>
1429
-            <element signature="imports" expanded="true" />
1430
-            <element signature="e#144#145#0" expanded="true" />
1431
-            <element signature="e#174#175#0" expanded="true" />
1432
-            <element signature="e#954#955#0" expanded="true" />
1433
-            <element signature="e#994#995#0" expanded="true" />
1434
-            <element signature="e#1035#1036#0" expanded="true" />
1435
-            <element signature="e#1076#1077#0" expanded="true" />
1436
-            <element signature="e#1101#1102#0" expanded="true" />
1437
-            <element signature="e#1157#1158#0" expanded="true" />
1438
-            <element signature="e#1192#1193#0" expanded="true" />
1439
-            <element signature="e#1245#1246#0" expanded="true" />
1440
-            <element signature="e#1271#1272#0" expanded="true" />
1441
-            <element signature="e#1307#1308#0" expanded="true" />
1442
-            <element signature="e#1340#1341#0" expanded="true" />
1443
-            <element signature="e#1373#1374#0" expanded="true" />
1444
-            <element signature="e#1402#1403#0" expanded="true" />
1445
-            <element signature="e#1441#1442#0" expanded="true" />
1446
-            <element signature="e#1480#1481#0" expanded="true" />
1447
-            <element signature="e#1519#1520#0" expanded="true" />
1448
-            <element signature="e#1551#1552#0" expanded="true" />
1449
-            <element signature="e#1593#1594#0" expanded="true" />
1450
-            <element signature="e#1638#1639#0" expanded="true" />
1451
-            <element signature="e#1683#1684#0" expanded="true" />
1452
-          </folding>
1453
-        </state>
1454
-      </provider>
1455
-    </entry>
1456
-    <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java">
1457
-      <provider selected="true" editor-type-id="text-editor">
1458
-        <state vertical-scroll-proportion="0.0">
1459
-          <caret line="40" column="43" selection-start-line="40" selection-start-column="43" selection-end-line="40" selection-end-column="43" />
1460
-          <folding />
1461
-        </state>
1462
-      </provider>
1463
-    </entry>
1464
-    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
1465
-      <provider selected="true" editor-type-id="text-editor">
1466
-        <state vertical-scroll-proportion="0.0">
1467
-          <caret line="124" column="64" selection-start-line="124" selection-start-column="64" selection-end-line="124" selection-end-column="64" />
1468
-          <folding>
1469
-            <element signature="e#3462#3463#0" expanded="true" />
1470
-            <element signature="e#3525#3526#0" expanded="true" />
1471
-          </folding>
1472
-        </state>
1473
-      </provider>
1474
-    </entry>
1475
     <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
1419
     <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/InterfacePrincipale.java">
1476
       <provider selected="true" editor-type-id="text-editor">
1420
       <provider selected="true" editor-type-id="text-editor">
1477
-        <state vertical-scroll-proportion="-0.15858209">
1478
-          <caret line="367" column="35" selection-start-line="367" selection-start-column="35" selection-end-line="367" selection-end-column="35" />
1421
+        <state vertical-scroll-proportion="0.0">
1422
+          <caret line="65" column="61" selection-start-line="65" selection-start-column="61" selection-end-line="65" selection-end-column="61" />
1479
           <folding>
1423
           <folding>
1480
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1424
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1481
-            <element signature="e#4910#5380#0" expanded="true" />
1482
-            <element signature="e#5379#5380#0" expanded="true" />
1425
+            <element signature="e#4847#5313#0" expanded="true" />
1426
+            <element signature="e#5312#5313#0" expanded="true" />
1483
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1427
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1484
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1428
             <element signature="method#createPanelReponses#0;class#InterfacePrincipale#0" expanded="false" />
1485
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1429
             <element signature="method#createPanelQuestion#0;class#InterfacePrincipale#0" expanded="false" />
1505
         </state>
1449
         </state>
1506
       </provider>
1450
       </provider>
1507
     </entry>
1451
     </entry>
1452
+    <entry file="file://$PROJECT_DIR$/src/InterfaceGraphique/DialogBoxes/ConnexionBddDialog.java">
1453
+      <provider selected="true" editor-type-id="text-editor">
1454
+        <state vertical-scroll-proportion="0.0">
1455
+          <caret line="30" column="0" selection-start-line="30" selection-start-column="0" selection-end-line="30" selection-end-column="0" />
1456
+          <folding>
1457
+            <element signature="e#3462#3463#0" expanded="true" />
1458
+            <element signature="e#3525#3526#0" expanded="true" />
1459
+          </folding>
1460
+        </state>
1461
+      </provider>
1462
+    </entry>
1463
+    <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConfigBDD.java">
1464
+      <provider selected="true" editor-type-id="text-editor">
1465
+        <state vertical-scroll-proportion="0.0">
1466
+          <caret line="59" column="0" selection-start-line="59" selection-start-column="0" selection-end-line="59" selection-end-column="0" />
1467
+          <folding>
1468
+            <element signature="imports" expanded="true" />
1469
+          </folding>
1470
+        </state>
1471
+      </provider>
1472
+    </entry>
1473
+    <entry file="file://$PROJECT_DIR$/src/GestionBddDAO/ConnexionBDD.java">
1474
+      <provider selected="true" editor-type-id="text-editor">
1475
+        <state vertical-scroll-proportion="0.31716418">
1476
+          <caret line="21" column="0" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" />
1477
+          <folding />
1478
+        </state>
1479
+      </provider>
1480
+    </entry>
1508
   </component>
1481
   </component>
1509
   <component name="masterDetails">
1482
   <component name="masterDetails">
1510
     <states>
1483
     <states>

+ 4
- 25
java/src/InterfaceGraphique/InterfacePrincipale.java View File

64
 	private static final Color ERROR_COLOR = Color.RED;
64
 	private static final Color ERROR_COLOR = Color.RED;
65
 	private static final Color INFO_COLOR = new Color(50,50,255);
65
 	private static final Color INFO_COLOR = new Color(50,50,255);
66
 	private static final Color NORMAL_COLOR = new Color(50,50,50);
66
 	private static final Color NORMAL_COLOR = new Color(50,50,50);
67
-	private static final Color WAITING_COLOR = Color.ORANGE;
68
 
67
 
69
 	public InterfacePrincipale()
68
 	public InterfacePrincipale()
70
 	{
69
 	{
76
 		bdd = new ConnexionBDD();
75
 		bdd = new ConnexionBDD();
77
 
76
 
78
 		splashScreen.setLoadingProgress(SplashScreen.LOADING_BDD_CONNECT);
77
 		splashScreen.setLoadingProgress(SplashScreen.LOADING_BDD_CONNECT);
79
-		tryToConnect(false);
78
+		tryToConnect();
80
 
79
 
81
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
80
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
82
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
81
 		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
158
 			public void actionPerformed(ActionEvent actionEvent) {
157
 			public void actionPerformed(ActionEvent actionEvent) {
159
 				if(configureBDD(false))
158
 				if(configureBDD(false))
160
 				{
159
 				{
161
-					tryToConnect(true);
160
+					tryToConnect();
162
 					try
161
 					try
163
 					{
162
 					{
164
 						listC.setListData(bdd.getListeCategorie().toArray());
163
 						listC.setListData(bdd.getListeCategorie().toArray());
365
 		}
364
 		}
366
 	}
365
 	}
367
 
366
 
368
-	private class W extends JWindow
369
-	{
370
-		public W(Frame owner) {
371
-			super(owner);
372
-			JLabel t = new JLabel("Connexion en cours...", plusImg, SwingConstants.CENTER);
373
-			JPanel p = new JPanel();
374
-			p.add(t);
375
-			p.setBackground(Color.RED);
376
-			setContentPane(p);
377
-			pack();
378
-			setLocationRelativeTo(null);
379
-			setVisible(true);
380
-		}
381
-	}
382
-
383
-	private void tryToConnect(boolean showInStatusBar)
367
+	private void tryToConnect()
384
 	{
368
 	{
385
 		boolean conOK = false;
369
 		boolean conOK = false;
386
 		do
370
 		do
387
 		{
371
 		{
388
-			if(showInStatusBar)
389
-			{
390
-				//setStatusText("Tentative de connexion à la base de données...", WAITING_COLOR);
391
-			}
392
-			W  w = new W(this);
393
 			conOK = bdd.connect(configBDD.getNomBdd(), configBDD.getPort(), configBDD.getIp(), configBDD.getLogin(), configBDD.getPassword());
372
 			conOK = bdd.connect(configBDD.getNomBdd(), configBDD.getPort(), configBDD.getIp(), configBDD.getLogin(), configBDD.getPassword());
394
-			w.dispose();
373
+
395
 			if(conOK == false)
374
 			if(conOK == false)
396
 			{
375
 			{
397
 				JOptionPane.showMessageDialog(this, "Impossible d'établir la connexion à la base de données.", "Erreur conexion base de données", JOptionPane.ERROR_MESSAGE);
376
 				JOptionPane.showMessageDialog(this, "Impossible d'établir la connexion à la base de données.", "Erreur conexion base de données", JOptionPane.ERROR_MESSAGE);