PCYoshi 9 vuotta sitten
vanhempi
commit
76778db531

+ 52
- 53
java/.idea/workspace.xml Näytä tiedosto

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/ConnexionBddDialog.java" />
11
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/GestionReponses.class" afterPath="$PROJECT_DIR$/out/production/java/GestionReponses.class" />
12
-      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/rsc/edit.png" afterPath="$PROJECT_DIR$/rsc/edit.png" />
10
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanQuestionsListener.class" />
11
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" afterPath="$PROJECT_DIR$/out/production/java/InterfacePrincipale$PanReponsesListener.class" />
12
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/ConnexionBddDialog.java" afterPath="$PROJECT_DIR$/src/ConnexionBddDialog.java" />
13
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
13
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/InterfacePrincipale.java" afterPath="$PROJECT_DIR$/src/InterfacePrincipale.java" />
14
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" afterPath="$PROJECT_DIR$/src/NouvelleQuestionDialog.java" />
15
+      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/NouvelleReponseDialog.java" afterPath="$PROJECT_DIR$/src/NouvelleReponseDialog.java" />
14
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
16
       <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
15
     </list>
17
     </list>
16
     <ignored path="java.iws" />
18
     <ignored path="java.iws" />
36
       <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
38
       <file leaf-file-name="InterfacePrincipale.java" pinned="false" current-in-tab="true">
37
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
39
         <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
38
           <provider selected="true" editor-type-id="text-editor">
40
           <provider selected="true" editor-type-id="text-editor">
39
-            <state vertical-scroll-proportion="0.28544775">
40
-              <caret line="51" column="32" selection-start-line="51" selection-start-column="32" selection-end-line="51" selection-end-column="32" />
41
+            <state vertical-scroll-proportion="0.660221">
42
+              <caret line="118" column="55" selection-start-line="118" selection-start-column="55" selection-end-line="118" selection-end-column="55" />
41
               <folding>
43
               <folding>
42
                 <element signature="imports" expanded="true" />
44
                 <element signature="imports" expanded="true" />
43
                 <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
45
                 <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
44
-                <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
45
                 <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
46
                 <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
46
                 <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
47
                 <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
47
                 <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
48
                 <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
50
           </provider>
51
           </provider>
51
         </entry>
52
         </entry>
52
       </file>
53
       </file>
53
-      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
54
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
54
+      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="false">
55
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
55
           <provider selected="true" editor-type-id="text-editor">
56
           <provider selected="true" editor-type-id="text-editor">
56
             <state vertical-scroll-proportion="0.0">
57
             <state vertical-scroll-proportion="0.0">
57
-              <caret line="39" column="74" selection-start-line="39" selection-start-column="74" selection-end-line="39" selection-end-column="74" />
58
+              <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
58
               <folding>
59
               <folding>
59
                 <element signature="imports" expanded="true" />
60
                 <element signature="imports" expanded="true" />
60
               </folding>
61
               </folding>
62
           </provider>
63
           </provider>
63
         </entry>
64
         </entry>
64
       </file>
65
       </file>
65
-      <file leaf-file-name="ConnexionBddDialog.java" pinned="false" current-in-tab="false">
66
-        <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
66
+      <file leaf-file-name="NouvelleQuestionDialog.java" pinned="false" current-in-tab="false">
67
+        <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
67
           <provider selected="true" editor-type-id="text-editor">
68
           <provider selected="true" editor-type-id="text-editor">
68
             <state vertical-scroll-proportion="0.0">
69
             <state vertical-scroll-proportion="0.0">
69
-              <caret line="74" column="24" selection-start-line="74" selection-start-column="24" selection-end-line="74" selection-end-column="24" />
70
+              <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
70
               <folding>
71
               <folding>
71
                 <element signature="imports" expanded="true" />
72
                 <element signature="imports" expanded="true" />
73
+                <element signature="e#2002#2003#0" expanded="true" />
74
+                <element signature="e#2034#2035#0" expanded="true" />
75
+                <element signature="e#2062#2063#0" expanded="true" />
76
+                <element signature="e#2102#2103#0" expanded="true" />
72
               </folding>
77
               </folding>
73
             </state>
78
             </state>
74
           </provider>
79
           </provider>
75
         </entry>
80
         </entry>
76
       </file>
81
       </file>
77
-      <file leaf-file-name="NouvelleQuestionDialog.java" pinned="false" current-in-tab="false">
78
-        <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
82
+      <file leaf-file-name="ConnexionBDD.java" pinned="false" current-in-tab="false">
83
+        <entry file="file://$PROJECT_DIR$/src/ConnexionBDD.java">
79
           <provider selected="true" editor-type-id="text-editor">
84
           <provider selected="true" editor-type-id="text-editor">
80
             <state vertical-scroll-proportion="0.0">
85
             <state vertical-scroll-proportion="0.0">
81
-              <caret line="53" column="58" selection-start-line="53" selection-start-column="58" selection-end-line="53" selection-end-column="58" />
86
+              <caret line="39" column="74" selection-start-line="39" selection-start-column="74" selection-end-line="39" selection-end-column="74" />
82
               <folding>
87
               <folding>
83
                 <element signature="imports" expanded="true" />
88
                 <element signature="imports" expanded="true" />
84
-                <element signature="e#1976#1977#0" expanded="true" />
85
-                <element signature="e#2008#2009#0" expanded="true" />
86
-                <element signature="e#2036#2037#0" expanded="true" />
87
-                <element signature="e#2076#2077#0" expanded="true" />
88
               </folding>
89
               </folding>
89
             </state>
90
             </state>
90
           </provider>
91
           </provider>
716
       <option name="project" value="LOCAL" />
717
       <option name="project" value="LOCAL" />
717
       <updated>1433258901442</updated>
718
       <updated>1433258901442</updated>
718
     </task>
719
     </task>
719
-    <option name="localTasksCounter" value="22" />
720
+    <task id="LOCAL-00022" summary="dialogu co bdd">
721
+      <created>1433340153817</created>
722
+      <option name="number" value="00022" />
723
+      <option name="project" value="LOCAL" />
724
+      <updated>1433340153817</updated>
725
+    </task>
726
+    <option name="localTasksCounter" value="23" />
720
     <servers />
727
     <servers />
721
   </component>
728
   </component>
722
   <component name="TodoView">
729
   <component name="TodoView">
730
   </component>
737
   </component>
731
   <component name="ToolWindowManager">
738
   <component name="ToolWindowManager">
732
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
739
     <frame x="-1" y="27" width="1368" height="712" extended-state="6" />
733
-    <editor active="true" />
740
+    <editor active="false" />
734
     <layout>
741
     <layout>
735
       <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" />
742
       <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" />
736
       <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" />
743
       <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" />
741
       <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" />
748
       <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" />
742
       <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" />
749
       <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" />
743
       <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" />
750
       <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" />
744
-      <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" />
751
+      <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" />
745
       <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" />
752
       <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" />
746
       <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" />
753
       <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" />
747
       <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" />
754
       <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" />
748
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
755
       <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
749
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
756
       <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
750
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.16717325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
757
       <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.16717325" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
751
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
758
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.30579966" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
752
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
759
       <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
753
       <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" />
760
       <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" />
754
       <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" />
761
       <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" />
788
     <MESSAGE value="++ gestion reponsesV3" />
795
     <MESSAGE value="++ gestion reponsesV3" />
789
     <MESSAGE value="++ gestion reponsesV4" />
796
     <MESSAGE value="++ gestion reponsesV4" />
790
     <MESSAGE value="++ gestion reponsesV5" />
797
     <MESSAGE value="++ gestion reponsesV5" />
791
-    <option name="LAST_COMMIT_MESSAGE" value="++ gestion reponsesV5" />
798
+    <MESSAGE value="dialogu co bdd" />
799
+    <option name="LAST_COMMIT_MESSAGE" value="dialogu co bdd" />
792
   </component>
800
   </component>
793
   <component name="XDebuggerManager">
801
   <component name="XDebuggerManager">
794
     <breakpoint-manager>
802
     <breakpoint-manager>
832
           <folding>
840
           <folding>
833
             <element signature="imports" expanded="true" />
841
             <element signature="imports" expanded="true" />
834
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
842
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
835
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
836
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
843
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
837
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
844
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
838
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
845
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
871
           <folding>
878
           <folding>
872
             <element signature="imports" expanded="true" />
879
             <element signature="imports" expanded="true" />
873
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
880
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
874
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
875
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
881
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
876
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
882
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
877
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
883
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
910
           <folding>
916
           <folding>
911
             <element signature="imports" expanded="true" />
917
             <element signature="imports" expanded="true" />
912
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
918
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
913
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
914
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
919
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
915
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
920
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
916
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
921
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
949
           <folding>
954
           <folding>
950
             <element signature="imports" expanded="true" />
955
             <element signature="imports" expanded="true" />
951
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
956
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
952
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
953
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
957
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
954
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
958
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
955
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
959
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
988
           <folding>
992
           <folding>
989
             <element signature="imports" expanded="true" />
993
             <element signature="imports" expanded="true" />
990
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
994
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
991
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
992
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
995
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
993
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
996
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
994
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
997
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1048
           <folding>
1051
           <folding>
1049
             <element signature="imports" expanded="true" />
1052
             <element signature="imports" expanded="true" />
1050
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1053
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1051
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
1052
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1054
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1053
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1055
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1054
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1056
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1109
         <state vertical-scroll-proportion="2.4738805">
1111
         <state vertical-scroll-proportion="2.4738805">
1110
           <caret line="93" column="38" selection-start-line="93" selection-start-column="38" selection-end-line="93" selection-end-column="38" />
1112
           <caret line="93" column="38" selection-start-line="93" selection-start-column="38" selection-end-line="93" selection-end-column="38" />
1111
           <folding>
1113
           <folding>
1112
-            <element signature="imports" expanded="true" />
1113
-            <element signature="e#2160#2161#0" expanded="true" />
1114
-            <element signature="e#2188#2189#0" expanded="true" />
1114
+            <element signature="imports" expanded="false" />
1115
+            <element signature="e#2160#2161#0" expanded="false" />
1116
+            <element signature="e#2188#2189#0" expanded="false" />
1115
           </folding>
1117
           </folding>
1116
         </state>
1118
         </state>
1117
       </provider>
1119
       </provider>
1141
         <state vertical-scroll-proportion="0.0">
1143
         <state vertical-scroll-proportion="0.0">
1142
           <caret line="84" column="28" selection-start-line="84" selection-start-column="28" selection-end-line="84" selection-end-column="28" />
1144
           <caret line="84" column="28" selection-start-line="84" selection-start-column="28" selection-end-line="84" selection-end-column="28" />
1143
           <folding>
1145
           <folding>
1144
-            <element signature="imports" expanded="true" />
1145
-            <element signature="e#2627#2628#0" expanded="true" />
1146
-            <element signature="e#2653#2654#0" expanded="true" />
1146
+            <element signature="imports" expanded="false" />
1147
+            <element signature="e#2627#2628#0" expanded="false" />
1148
+            <element signature="e#2653#2654#0" expanded="false" />
1147
           </folding>
1149
           </folding>
1148
         </state>
1150
         </state>
1149
       </provider>
1151
       </provider>
1153
         <state vertical-scroll-proportion="0.0">
1155
         <state vertical-scroll-proportion="0.0">
1154
           <caret line="89" column="36" selection-start-line="89" selection-start-column="36" selection-end-line="89" selection-end-column="36" />
1156
           <caret line="89" column="36" selection-start-line="89" selection-start-column="36" selection-end-line="89" selection-end-column="36" />
1155
           <folding>
1157
           <folding>
1156
-            <element signature="imports" expanded="true" />
1157
-            <element signature="e#2985#2986#0" expanded="true" />
1158
-            <element signature="e#3013#3014#0" expanded="true" />
1158
+            <element signature="imports" expanded="false" />
1159
+            <element signature="e#2985#2986#0" expanded="false" />
1160
+            <element signature="e#3013#3014#0" expanded="false" />
1159
           </folding>
1161
           </folding>
1160
         </state>
1162
         </state>
1161
       </provider>
1163
       </provider>
1162
     </entry>
1164
     </entry>
1163
     <entry file="file://$PROJECT_DIR$/src/NouvelleReponseDialog.java">
1165
     <entry file="file://$PROJECT_DIR$/src/NouvelleReponseDialog.java">
1164
       <provider selected="true" editor-type-id="text-editor">
1166
       <provider selected="true" editor-type-id="text-editor">
1165
-        <state vertical-scroll-proportion="0.0">
1166
-          <caret line="20" column="28" selection-start-line="20" selection-start-column="28" selection-end-line="20" selection-end-column="28" />
1167
-          <folding>
1168
-            <element signature="imports" expanded="true" />
1169
-          </folding>
1167
+        <state vertical-scroll-proportion="0.31716418">
1168
+          <caret line="17" column="31" selection-start-line="17" selection-start-column="31" selection-end-line="17" selection-end-column="31" />
1169
+          <folding />
1170
         </state>
1170
         </state>
1171
       </provider>
1171
       </provider>
1172
     </entry>
1172
     </entry>
1183
     <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1183
     <entry file="file://$PROJECT_DIR$/src/NouvelleQuestionDialog.java">
1184
       <provider selected="true" editor-type-id="text-editor">
1184
       <provider selected="true" editor-type-id="text-editor">
1185
         <state vertical-scroll-proportion="0.0">
1185
         <state vertical-scroll-proportion="0.0">
1186
-          <caret line="53" column="58" selection-start-line="53" selection-start-column="58" selection-end-line="53" selection-end-column="58" />
1186
+          <caret line="16" column="31" selection-start-line="16" selection-start-column="31" selection-end-line="16" selection-end-column="31" />
1187
           <folding>
1187
           <folding>
1188
             <element signature="imports" expanded="true" />
1188
             <element signature="imports" expanded="true" />
1189
-            <element signature="e#1976#1977#0" expanded="true" />
1190
-            <element signature="e#2008#2009#0" expanded="true" />
1191
-            <element signature="e#2036#2037#0" expanded="true" />
1192
-            <element signature="e#2076#2077#0" expanded="true" />
1189
+            <element signature="e#2002#2003#0" expanded="true" />
1190
+            <element signature="e#2034#2035#0" expanded="true" />
1191
+            <element signature="e#2062#2063#0" expanded="true" />
1192
+            <element signature="e#2102#2103#0" expanded="true" />
1193
           </folding>
1193
           </folding>
1194
         </state>
1194
         </state>
1195
       </provider>
1195
       </provider>
1197
     <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1197
     <entry file="file://$PROJECT_DIR$/src/ConnexionBddDialog.java">
1198
       <provider selected="true" editor-type-id="text-editor">
1198
       <provider selected="true" editor-type-id="text-editor">
1199
         <state vertical-scroll-proportion="0.0">
1199
         <state vertical-scroll-proportion="0.0">
1200
-          <caret line="74" column="24" selection-start-line="74" selection-start-column="24" selection-end-line="74" selection-end-column="24" />
1200
+          <caret line="38" column="0" selection-start-line="38" selection-start-column="0" selection-end-line="38" selection-end-column="0" />
1201
           <folding>
1201
           <folding>
1202
             <element signature="imports" expanded="true" />
1202
             <element signature="imports" expanded="true" />
1203
           </folding>
1203
           </folding>
1206
     </entry>
1206
     </entry>
1207
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1207
     <entry file="file://$PROJECT_DIR$/src/InterfacePrincipale.java">
1208
       <provider selected="true" editor-type-id="text-editor">
1208
       <provider selected="true" editor-type-id="text-editor">
1209
-        <state vertical-scroll-proportion="0.28544775">
1210
-          <caret line="51" column="32" selection-start-line="51" selection-start-column="32" selection-end-line="51" selection-end-column="32" />
1209
+        <state vertical-scroll-proportion="0.660221">
1210
+          <caret line="118" column="55" selection-start-line="118" selection-start-column="55" selection-end-line="118" selection-end-column="55" />
1211
           <folding>
1211
           <folding>
1212
             <element signature="imports" expanded="true" />
1212
             <element signature="imports" expanded="true" />
1213
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1213
             <element signature="method#loadImgBouton#0;class#InterfacePrincipale#0" expanded="false" />
1214
-            <element signature="method#createStatusBar#0;class#InterfacePrincipale#0" expanded="false" />
1215
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1214
             <element signature="method#createPanelCategories#0;class#InterfacePrincipale#0" expanded="false" />
1216
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1215
             <element signature="method#modem56k#0;class#InterfacePrincipale#0" expanded="false" />
1217
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />
1216
             <element signature="method#nyan#0;class#InterfacePrincipale#0" expanded="false" />

BIN
java/out/production/java/InterfacePrincipale$PanQuestionsListener.class Näytä tiedosto


BIN
java/out/production/java/InterfacePrincipale$PanReponsesListener.class Näytä tiedosto


BIN
java/rsc/burgerquizz.png Näytä tiedosto


+ 17
- 6
java/src/ConnexionBddDialog.java Näytä tiedosto

18
 	private JButton defParams;
18
 	private JButton defParams;
19
 	private boolean modifEffectuees;
19
 	private boolean modifEffectuees;
20
 
20
 
21
-	public ConnexionBddDialog(String nomBdd, int port, String ip, String login, String password, Dialog owner)
21
+	public ConnexionBddDialog(String nomBdd, int port, String ip, String login, String password, JFrame parent)
22
 	{
22
 	{
23
-		super(owner, "Paramétres BDD", true);
23
+		super(parent, "Paramétres BDD", true);
24
+		modifEffectuees = false;
24
 		createInterface(nomBdd, port, ip, login, password);
25
 		createInterface(nomBdd, port, ip, login, password);
25
 		pack();
26
 		pack();
26
 		setLocationRelativeTo(null);
27
 		setLocationRelativeTo(null);
29
 
30
 
30
 	private void createInterface(String defNomBdd, int defPort, String defIP, String defLogin, String defPassword)
31
 	private void createInterface(String defNomBdd, int defPort, String defIP, String defLogin, String defPassword)
31
 	{
32
 	{
32
-		nomBdd = new JTextField(defNomBdd, 40);
33
+		nomBdd = new JTextField(defNomBdd, 30);
33
 		port = new JFormattedTextField(NumberFormat.getInstance());
34
 		port = new JFormattedTextField(NumberFormat.getInstance());
34
 		port.setValue(defPort);
35
 		port.setValue(defPort);
35
-		ip = new JTextField(defIP, 40);
36
-		login = new JTextField(defLogin, 40);
37
-		password = new JPasswordField(defPassword, 40);
36
+		ip = new JTextField(defIP, 30);
37
+		login = new JTextField(defLogin, 30);
38
+		password = new JPasswordField(defPassword, 30);
39
+
40
+		nomBdd.setBackground(Color.WHITE);
41
+		port.setBackground(Color.WHITE);
42
+		ip.setBackground(Color.WHITE);
43
+		login.setBackground(Color.WHITE);
44
+		password.setBackground(Color.WHITE);
38
 
45
 
39
 		ok = new JButton("OK");
46
 		ok = new JButton("OK");
40
 		annuler = new JButton("Annuler");
47
 		annuler = new JButton("Annuler");
41
 		defParams = new JButton("Paramétres de connexion par défault");
48
 		defParams = new JButton("Paramétres de connexion par défault");
42
 
49
 
50
+		ok.addActionListener(this);
51
+		annuler.addActionListener(this);
52
+		defParams.addActionListener(this);
53
+
43
 		JPanel fieldPanel = new JPanel();
54
 		JPanel fieldPanel = new JPanel();
44
 		JPanel boutons = new JPanel();
55
 		JPanel boutons = new JPanel();
45
 		fieldPanel.setLayout(new GridLayout(5, 2));
56
 		fieldPanel.setLayout(new GridLayout(5, 2));

+ 13
- 3
java/src/InterfacePrincipale.java Näytä tiedosto

43
 	//barre de statut
43
 	//barre de statut
44
 	private JPanel statusBar;
44
 	private JPanel statusBar;
45
 	private JLabel statusText;
45
 	private JLabel statusText;
46
+	private Bouton config;
46
 
47
 
47
 	//objet bdd
48
 	//objet bdd
48
 	private ConnexionBDD bdd;
49
 	private ConnexionBDD bdd;
49
 
50
 
50
 	public InterfacePrincipale()
51
 	public InterfacePrincipale()
51
 	{
52
 	{
52
-		ConnexionBddDialog cbddd = new ConnexionBddDialog("efr",85,"42:42:42:42","eflgr","fmr,grgerge",null);
53
+		ConnexionBddDialog cbddd = new ConnexionBddDialog("efr",85,"42:42:42:42","eflgr","fmr,grgerge", null);
54
+		cbddd.afficher();
53
 		bdd = new ConnexionBDD("burgerquizz", 3306, "localhost", "alain", "chabat");
55
 		bdd = new ConnexionBDD("burgerquizz", 3306, "localhost", "alain", "chabat");
54
 
56
 
55
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
57
 		setTitle("Administration base de données de l'aplication BurgerQuizz");
103
 
105
 
104
 	private void createStatusBar()
106
 	private void createStatusBar()
105
 	{
107
 	{
106
-		statusBar = new JPanel();
108
+		statusBar = new JPanel(new BorderLayout());
107
 		statusText = new JLabel("Application demarrée, connexion à la base de donné effective. ");
109
 		statusText = new JLabel("Application demarrée, connexion à la base de donné effective. ");
108
 
110
 
109
 		Border border = BorderFactory.createMatteBorder(3,0,0,0, new Color(220,220,220));
111
 		Border border = BorderFactory.createMatteBorder(3,0,0,0, new Color(220,220,220));
110
 		statusBar.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(10,70,5,70),border));
112
 		statusBar.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createEmptyBorder(10,70,5,70),border));
111
 
113
 
112
-		statusBar.add(statusText);
114
+		config = new Bouton("Configuration", setupImg);
115
+		config.setPreferredSize(new Dimension(250, 34));
116
+		JPanel p = new JPanel();
117
+		p.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
118
+
119
+		statusBar.add(statusText, BorderLayout.CENTER);
120
+		p.add(config, BorderLayout.EAST);
121
+		statusBar.add(p, BorderLayout.EAST);
122
+		//statusBar.add(config, BorderLayout.EAST);
113
 	}
123
 	}
114
 
124
 
115
 	private void createPanelCategories()
125
 	private void createPanelCategories()

+ 1
- 0
java/src/NouvelleQuestionDialog.java Näytä tiedosto

14
 	public NouvelleQuestionDialog(String title, String defIntitule, int defReponse, String reponse1, String reponse2, JFrame parent)
14
 	public NouvelleQuestionDialog(String title, String defIntitule, int defReponse, String reponse1, String reponse2, JFrame parent)
15
 	{
15
 	{
16
 		super(parent, title, true);
16
 		super(parent, title, true);
17
+		mofidEffectues = false;
17
 		createInterface(defIntitule, defReponse, reponse1, reponse2);
18
 		createInterface(defIntitule, defReponse, reponse1, reponse2);
18
 		pack();
19
 		pack();
19
 		setLocationRelativeTo(null);
20
 		setLocationRelativeTo(null);

+ 1
- 0
java/src/NouvelleReponseDialog.java Näytä tiedosto

15
 	public NouvelleReponseDialog(String title, String defRep1, String defRep2, String defCategorie, String[] tabCategorie,JFrame parent)
15
 	public NouvelleReponseDialog(String title, String defRep1, String defRep2, String defCategorie, String[] tabCategorie,JFrame parent)
16
 	{
16
 	{
17
 		super(parent, title, true);
17
 		super(parent, title, true);
18
+		mofidEffectues = false;
18
 		createInterface(defRep1, defRep2, defCategorie, tabCategorie);
19
 		createInterface(defRep1, defRep2, defCategorie, tabCategorie);
19
 		pack();
20
 		pack();
20
 		setLocationRelativeTo(null);
21
 		setLocationRelativeTo(null);