├── .github └── FUNDING.yml ├── .gitignore ├── LICENSE ├── README.md ├── build.xml ├── build ├── built-jar.properties └── classes │ ├── .netbeans_automatic_build │ ├── .netbeans_update_resources │ ├── About_Us_Page.form │ ├── Contact_Me_Page.form │ ├── Create_a_New_Account_Page.form │ ├── Database_View.form │ ├── Delete_Password_Page.form │ ├── Forgot_Account_Page.form │ ├── Home.form │ ├── Log_Control_Page.form │ ├── Login_Page.form │ ├── Management_Password_Page.form │ ├── New_Password_Page.form │ ├── Software_Update_Page.form │ ├── Update_Password_Page.form │ ├── User_Control_Panel_Page.form │ ├── User_Database_View_Page.form │ ├── User_Edit_Page.form │ ├── ico │ ├── about_me_ico.png │ ├── add_new_password_ico.png │ ├── add_password_ico.png │ ├── contact_me_ico.png │ ├── contact_us.png │ ├── database_ico.png │ ├── database_password_view_ico.png │ ├── database_update_ico.png │ ├── database_view_ico.png │ ├── default_user_ico.png │ ├── exit_ico.png │ ├── forgot_password.png │ ├── github-logo.png │ ├── log_file.png │ ├── login_button.png │ ├── password_delete_ico.png │ ├── password_management_ico.png │ ├── register_ico.png │ ├── send_ico.png │ ├── software-update.png │ ├── turnback_ico.png │ ├── update_database_ico.png │ ├── user_edit_ico.png │ └── website.png │ ├── logo │ └── PassBox.png │ └── passbox_ico.png ├── dist └── README.TXT ├── manifest.mf ├── mysql └── passbox_db.sql ├── nbproject ├── build-impl.xml ├── genfiles.properties ├── private │ ├── config.properties │ ├── private.properties │ └── private.xml ├── project.properties └── project.xml └── src ├── About_Us_Page.form ├── About_Us_Page.java ├── Contact_Me_Page.form ├── Contact_Me_Page.java ├── Create_a_New_Account_Page.form ├── Create_a_New_Account_Page.java ├── Database_View.form ├── Database_View.java ├── Delete_Password_Page.form ├── Delete_Password_Page.java ├── Forgot_Account_Page.form ├── Forgot_Account_Page.java ├── Home.form ├── Home.java ├── Log_Control_Page.form ├── Log_Control_Page.java ├── Login_Page.form ├── Login_Page.java ├── Management_Password_Page.form ├── Management_Password_Page.java ├── New_Password_Page.form ├── New_Password_Page.java ├── Software_Update_Page.form ├── Software_Update_Page.java ├── Update_Password_Page.form ├── Update_Password_Page.java ├── User_Control_Panel_Page.form ├── User_Control_Panel_Page.java ├── User_Database_View_Page.form ├── User_Database_View_Page.java ├── User_Edit_Page.form ├── User_Edit_Page.java ├── ico ├── about_me_ico.png ├── add_new_password_ico.png ├── add_password_ico.png ├── contact_me_ico.png ├── contact_us.png ├── database_ico.png ├── database_password_view_ico.png ├── database_update_ico.png ├── database_view_ico.png ├── default_user_ico.png ├── exit_ico.png ├── forgot_password.png ├── github-logo.png ├── log_file.png ├── login_button.png ├── password_delete_ico.png ├── password_management_ico.png ├── register_ico.png ├── send_ico.png ├── software-update.png ├── turnback_ico.png ├── update_database_ico.png ├── user_edit_ico.png └── website.png ├── logo └── PassBox.png ├── passbox_ico.png └── progressbar_class └── Login_Page.java /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: ismailtasdelen 4 | patreon: ismailtasdelen 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: ismailtasdelen 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 İSMAİL TAŞDELEN 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PassBox 2 | 3 |

4 | 5 |

6 | 7 | #### Password Management Tools | Open Source Project 8 | 9 | #### Programming Languages : 10 | 11 | * Java 12 | 13 | #### Development Tools : 14 | 15 | * Java SDK 16 | 17 | * NetBeans IDE 18 | -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Builds, tests, and runs the project PassBox. 12 | 13 | 73 | 74 | -------------------------------------------------------------------------------- /build/built-jar.properties: -------------------------------------------------------------------------------- 1 | #Tue, 25 Apr 2017 23:17:15 +0300 2 | 3 | 4 | C\:\\Users\\q\\Downloads\\PassBox\\PassBox\\PassBox= 5 | -------------------------------------------------------------------------------- /build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/.netbeans_automatic_build -------------------------------------------------------------------------------- /build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/.netbeans_update_resources -------------------------------------------------------------------------------- /build/classes/About_Us_Page.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /build/classes/Contact_Me_Page.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 |
175 | -------------------------------------------------------------------------------- /build/classes/Database_View.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 |
75 |
76 | 77 | 78 | 79 | 80 | 81 |
82 |
83 |
84 |
85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 |
97 |
98 | -------------------------------------------------------------------------------- /build/classes/Delete_Password_Page.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 |
174 | -------------------------------------------------------------------------------- /build/classes/Forgot_Account_Page.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 |
117 | -------------------------------------------------------------------------------- /build/classes/Home.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /build/classes/Log_Control_Page.form: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 |
75 |
76 | 77 | 78 | 79 | 80 | <Editor/> 81 | <Renderer/> 82 | </Column> 83 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 84 | <Title/> 85 | <Editor/> 86 | <Renderer/> 87 | </Column> 88 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 89 | <Title/> 90 | <Editor/> 91 | <Renderer/> 92 | </Column> 93 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 94 | <Title/> 95 | <Editor/> 96 | <Renderer/> 97 | </Column> 98 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 99 | <Title/> 100 | <Editor/> 101 | <Renderer/> 102 | </Column> 103 | </TableColumnModel> 104 | </Property> 105 | <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> 106 | <TableHeader reorderingAllowed="true" resizingAllowed="true"/> 107 | </Property> 108 | </Properties> 109 | </Component> 110 | </SubComponents> 111 | </Container> 112 | <Component class="javax.swing.JButton" name="turnback_button"> 113 | <Properties> 114 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 115 | <Font name="Tahoma" size="11" style="1"/> 116 | </Property> 117 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 118 | <Image iconType="3" name="/ico/turnback_ico.png"/> 119 | </Property> 120 | <Property name="text" type="java.lang.String" value="Turn Back"/> 121 | </Properties> 122 | <Events> 123 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 124 | </Events> 125 | </Component> 126 | <Component class="javax.swing.JButton" name="deletealllogs_button"> 127 | <Properties> 128 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 129 | <Font name="Tahoma" size="11" style="1"/> 130 | </Property> 131 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 132 | <Image iconType="3" name="/ico/password_delete_ico.png"/> 133 | </Property> 134 | <Property name="text" type="java.lang.String" value="Delete All Logs"/> 135 | </Properties> 136 | </Component> 137 | </SubComponents> 138 | </Form> 139 | -------------------------------------------------------------------------------- /build/classes/Management_Password_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Management Password Page"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" alignment="0" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Component id="jButton_new_add_password_logo" min="-2" pref="413" max="-2" attributes="0"/> 31 | <EmptySpace max="-2" attributes="0"/> 32 | <Group type="103" groupAlignment="0" attributes="0"> 33 | <Component id="jButton_new_password_add" alignment="1" pref="298" max="32767" attributes="0"/> 34 | <Component id="jButton_password_delete" alignment="1" max="32767" attributes="0"/> 35 | <Component id="jButton_database_view" alignment="1" max="32767" attributes="0"/> 36 | <Component id="jButton_TurnBack" alignment="0" max="32767" attributes="0"/> 37 | <Component id="jButton1" alignment="0" max="32767" attributes="0"/> 38 | </Group> 39 | <EmptySpace max="-2" attributes="0"/> 40 | </Group> 41 | </Group> 42 | </DimensionLayout> 43 | <DimensionLayout dim="1"> 44 | <Group type="103" groupAlignment="0" attributes="0"> 45 | <Group type="102" alignment="0" attributes="0"> 46 | <EmptySpace max="-2" attributes="0"/> 47 | <Group type="103" groupAlignment="0" attributes="0"> 48 | <Component id="jButton_new_add_password_logo" pref="418" max="32767" attributes="0"/> 49 | <Group type="102" attributes="0"> 50 | <Component id="jButton_new_password_add" min="-2" pref="68" max="-2" attributes="0"/> 51 | <EmptySpace max="-2" attributes="0"/> 52 | <Component id="jButton_password_delete" min="-2" pref="64" max="-2" attributes="0"/> 53 | <EmptySpace max="-2" attributes="0"/> 54 | <Component id="jButton1" min="-2" pref="66" max="-2" attributes="0"/> 55 | <EmptySpace max="-2" attributes="0"/> 56 | <Component id="jButton_database_view" min="-2" pref="66" max="-2" attributes="0"/> 57 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 58 | <Component id="jButton_TurnBack" max="32767" attributes="0"/> 59 | <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> 60 | </Group> 61 | </Group> 62 | <EmptySpace max="-2" attributes="0"/> 63 | </Group> 64 | </Group> 65 | </DimensionLayout> 66 | </Layout> 67 | <SubComponents> 68 | <Component class="javax.swing.JButton" name="jButton_new_password_add"> 69 | <Properties> 70 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 71 | <Font name="Tahoma" size="11" style="1"/> 72 | </Property> 73 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 74 | <Image iconType="3" name="/ico/add_password_ico.png"/> 75 | </Property> 76 | <Property name="text" type="java.lang.String" value="New Password Add"/> 77 | <Property name="horizontalTextPosition" type="int" value="0"/> 78 | <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/> 79 | <Property name="verticalTextPosition" type="int" value="3"/> 80 | </Properties> 81 | <Events> 82 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_new_password_addActionPerformed"/> 83 | </Events> 84 | </Component> 85 | <Component class="javax.swing.JButton" name="jButton_database_view"> 86 | <Properties> 87 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 88 | <Font name="Tahoma" size="11" style="1"/> 89 | </Property> 90 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 91 | <Image iconType="3" name="/ico/database_password_view_ico.png"/> 92 | </Property> 93 | <Property name="text" type="java.lang.String" value="Database View"/> 94 | <Property name="horizontalTextPosition" type="int" value="0"/> 95 | <Property name="verticalTextPosition" type="int" value="3"/> 96 | </Properties> 97 | <Events> 98 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_database_viewActionPerformed"/> 99 | </Events> 100 | </Component> 101 | <Component class="javax.swing.JButton" name="jButton_password_delete"> 102 | <Properties> 103 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 104 | <Font name="Tahoma" size="11" style="1"/> 105 | </Property> 106 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 107 | <Image iconType="3" name="/ico/password_delete_ico.png"/> 108 | </Property> 109 | <Property name="text" type="java.lang.String" value="Password Delete"/> 110 | <Property name="horizontalTextPosition" type="int" value="0"/> 111 | <Property name="verticalTextPosition" type="int" value="3"/> 112 | </Properties> 113 | <Events> 114 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_password_deleteActionPerformed"/> 115 | </Events> 116 | </Component> 117 | <Component class="javax.swing.JButton" name="jButton_new_add_password_logo"> 118 | <Properties> 119 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 120 | <Image iconType="3" name="/logo/PassBox.png"/> 121 | </Property> 122 | </Properties> 123 | </Component> 124 | <Component class="javax.swing.JButton" name="jButton_TurnBack"> 125 | <Properties> 126 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 127 | <Font name="Tahoma" size="11" style="1"/> 128 | </Property> 129 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 130 | <Image iconType="3" name="/ico/turnback_ico.png"/> 131 | </Property> 132 | <Property name="text" type="java.lang.String" value="Turn Back"/> 133 | <Property name="horizontalTextPosition" type="int" value="0"/> 134 | <Property name="verticalTextPosition" type="int" value="3"/> 135 | </Properties> 136 | <Events> 137 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_TurnBackActionPerformed"/> 138 | </Events> 139 | </Component> 140 | <Component class="javax.swing.JButton" name="jButton1"> 141 | <Properties> 142 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 143 | <Font name="Tahoma" size="11" style="1"/> 144 | </Property> 145 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 146 | <Image iconType="3" name="/ico/database_update_ico.png"/> 147 | </Property> 148 | <Property name="text" type="java.lang.String" value="Password Update"/> 149 | <Property name="horizontalTextPosition" type="int" value="0"/> 150 | <Property name="verticalTextPosition" type="int" value="3"/> 151 | </Properties> 152 | <Events> 153 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> 154 | </Events> 155 | </Component> 156 | </SubComponents> 157 | </Form> 158 | -------------------------------------------------------------------------------- /build/classes/Software_Update_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Software Update Page"/> 7 | </Properties> 8 | <SyntheticProperties> 9 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 10 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 11 | </SyntheticProperties> 12 | <AuxValues> 13 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 14 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 15 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 16 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 17 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 19 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 20 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 21 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 22 | </AuxValues> 23 | 24 | <Layout> 25 | <DimensionLayout dim="0"> 26 | <Group type="103" groupAlignment="0" attributes="0"> 27 | <Group type="102" alignment="0" attributes="0"> 28 | <EmptySpace max="-2" attributes="0"/> 29 | <Component id="jButton1" min="-2" pref="325" max="-2" attributes="0"/> 30 | <EmptySpace max="-2" attributes="0"/> 31 | <Group type="103" groupAlignment="0" attributes="0"> 32 | <Component id="github_button" pref="299" max="32767" attributes="0"/> 33 | <Component id="jButton2" max="32767" attributes="0"/> 34 | <Component id="turnback_button" alignment="0" max="32767" attributes="0"/> 35 | </Group> 36 | <EmptySpace max="-2" attributes="0"/> 37 | </Group> 38 | </Group> 39 | </DimensionLayout> 40 | <DimensionLayout dim="1"> 41 | <Group type="103" groupAlignment="0" attributes="0"> 42 | <Group type="102" alignment="0" attributes="0"> 43 | <EmptySpace max="32767" attributes="0"/> 44 | <Group type="103" groupAlignment="0" attributes="0"> 45 | <Component id="jButton1" min="-2" max="-2" attributes="0"/> 46 | <Group type="102" attributes="0"> 47 | <Component id="github_button" min="-2" pref="115" max="-2" attributes="0"/> 48 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 49 | <Component id="jButton2" min="-2" pref="115" max="-2" attributes="0"/> 50 | <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> 51 | <Component id="turnback_button" min="-2" pref="67" max="-2" attributes="0"/> 52 | </Group> 53 | </Group> 54 | <EmptySpace max="32767" attributes="0"/> 55 | </Group> 56 | </Group> 57 | </DimensionLayout> 58 | </Layout> 59 | <SubComponents> 60 | <Component class="javax.swing.JButton" name="jButton1"> 61 | <Properties> 62 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 63 | <Image iconType="3" name="/logo/PassBox.png"/> 64 | </Property> 65 | </Properties> 66 | </Component> 67 | <Component class="javax.swing.JButton" name="github_button"> 68 | <Properties> 69 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 70 | <Font name="Tahoma" size="11" style="1"/> 71 | </Property> 72 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 73 | <Image iconType="3" name="/ico/github-logo.png"/> 74 | </Property> 75 | <Property name="text" type="java.lang.String" value="GitHub"/> 76 | <Property name="horizontalTextPosition" type="int" value="0"/> 77 | <Property name="verticalTextPosition" type="int" value="3"/> 78 | </Properties> 79 | <Events> 80 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="github_buttonActionPerformed"/> 81 | </Events> 82 | </Component> 83 | <Component class="javax.swing.JButton" name="turnback_button"> 84 | <Properties> 85 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 86 | <Font name="Tahoma" size="11" style="1"/> 87 | </Property> 88 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 89 | <Image iconType="3" name="/ico/turnback_ico.png"/> 90 | </Property> 91 | <Property name="text" type="java.lang.String" value="Turn Back"/> 92 | </Properties> 93 | <Events> 94 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 95 | </Events> 96 | </Component> 97 | <Component class="javax.swing.JButton" name="jButton2"> 98 | <Properties> 99 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 100 | <Font name="Tahoma" size="11" style="1"/> 101 | </Property> 102 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 103 | <Image iconType="3" name="/ico/website.png"/> 104 | </Property> 105 | <Property name="text" type="java.lang.String" value="Website"/> 106 | <Property name="horizontalTextPosition" type="int" value="0"/> 107 | <Property name="verticalTextPosition" type="int" value="3"/> 108 | </Properties> 109 | <Events> 110 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> 111 | </Events> 112 | </Component> 113 | </SubComponents> 114 | </Form> 115 | -------------------------------------------------------------------------------- /build/classes/User_Database_View_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | User Database View"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Group type="103" groupAlignment="0" attributes="0"> 31 | <Component id="jScrollPane1" pref="665" max="32767" attributes="0"/> 32 | <Group type="102" alignment="0" attributes="0"> 33 | <Component id="turnback_button" min="-2" pref="145" max="-2" attributes="0"/> 34 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 35 | </Group> 36 | </Group> 37 | <EmptySpace max="-2" attributes="0"/> 38 | </Group> 39 | </Group> 40 | </DimensionLayout> 41 | <DimensionLayout dim="1"> 42 | <Group type="103" groupAlignment="0" attributes="0"> 43 | <Group type="102" alignment="0" attributes="0"> 44 | <EmptySpace max="-2" attributes="0"/> 45 | <Component id="jScrollPane1" min="-2" pref="150" max="-2" attributes="0"/> 46 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 47 | <Component id="turnback_button" min="-2" pref="60" max="-2" attributes="0"/> 48 | <EmptySpace max="32767" attributes="0"/> 49 | </Group> 50 | </Group> 51 | </DimensionLayout> 52 | </Layout> 53 | <SubComponents> 54 | <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 55 | <AuxValues> 56 | <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 57 | </AuxValues> 58 | 59 | <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 60 | <SubComponents> 61 | <Component class="javax.swing.JTable" name="table_userdatabasview"> 62 | <Properties> 63 | <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> 64 | <Table columnCount="4" rowCount="4"> 65 | <Column editable="true" title="Title 1" type="java.lang.Object"/> 66 | <Column editable="true" title="Title 2" type="java.lang.Object"/> 67 | <Column editable="true" title="Title 3" type="java.lang.Object"/> 68 | <Column editable="true" title="Title 4" type="java.lang.Object"/> 69 | </Table> 70 | </Property> 71 | </Properties> 72 | </Component> 73 | </SubComponents> 74 | </Container> 75 | <Component class="javax.swing.JButton" name="turnback_button"> 76 | <Properties> 77 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 78 | <Font name="Tahoma" size="11" style="1"/> 79 | </Property> 80 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 81 | <Image iconType="3" name="/ico/turnback_ico.png"/> 82 | </Property> 83 | <Property name="text" type="java.lang.String" value="Turn Back"/> 84 | </Properties> 85 | <Events> 86 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 87 | </Events> 88 | </Component> 89 | </SubComponents> 90 | </Form> 91 | -------------------------------------------------------------------------------- /build/classes/ico/about_me_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/about_me_ico.png -------------------------------------------------------------------------------- /build/classes/ico/add_new_password_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/add_new_password_ico.png -------------------------------------------------------------------------------- /build/classes/ico/add_password_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/add_password_ico.png -------------------------------------------------------------------------------- /build/classes/ico/contact_me_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/contact_me_ico.png -------------------------------------------------------------------------------- /build/classes/ico/contact_us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/contact_us.png -------------------------------------------------------------------------------- /build/classes/ico/database_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/database_ico.png -------------------------------------------------------------------------------- /build/classes/ico/database_password_view_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/database_password_view_ico.png -------------------------------------------------------------------------------- /build/classes/ico/database_update_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/database_update_ico.png -------------------------------------------------------------------------------- /build/classes/ico/database_view_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/database_view_ico.png -------------------------------------------------------------------------------- /build/classes/ico/default_user_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/default_user_ico.png -------------------------------------------------------------------------------- /build/classes/ico/exit_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/exit_ico.png -------------------------------------------------------------------------------- /build/classes/ico/forgot_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/forgot_password.png -------------------------------------------------------------------------------- /build/classes/ico/github-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/github-logo.png -------------------------------------------------------------------------------- /build/classes/ico/log_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/log_file.png -------------------------------------------------------------------------------- /build/classes/ico/login_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/login_button.png -------------------------------------------------------------------------------- /build/classes/ico/password_delete_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/password_delete_ico.png -------------------------------------------------------------------------------- /build/classes/ico/password_management_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/password_management_ico.png -------------------------------------------------------------------------------- /build/classes/ico/register_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/register_ico.png -------------------------------------------------------------------------------- /build/classes/ico/send_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/send_ico.png -------------------------------------------------------------------------------- /build/classes/ico/software-update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/software-update.png -------------------------------------------------------------------------------- /build/classes/ico/turnback_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/turnback_ico.png -------------------------------------------------------------------------------- /build/classes/ico/update_database_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/update_database_ico.png -------------------------------------------------------------------------------- /build/classes/ico/user_edit_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/user_edit_ico.png -------------------------------------------------------------------------------- /build/classes/ico/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/ico/website.png -------------------------------------------------------------------------------- /build/classes/logo/PassBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/logo/PassBox.png -------------------------------------------------------------------------------- /build/classes/passbox_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/build/classes/passbox_ico.png -------------------------------------------------------------------------------- /dist/README.TXT: -------------------------------------------------------------------------------- 1 | ======================== 2 | BUILD OUTPUT DESCRIPTION 3 | ======================== 4 | 5 | When you build an Java application project that has a main class, the IDE 6 | automatically copies all of the JAR 7 | files on the projects classpath to your projects dist/lib folder. The IDE 8 | also adds each of the JAR files to the Class-Path element in the application 9 | JAR files manifest file (MANIFEST.MF). 10 | 11 | To run the project from the command line, go to the dist folder and 12 | type the following: 13 | 14 | java -jar "PassBox.jar" 15 | 16 | To distribute this project, zip up the dist folder (including the lib folder) 17 | and distribute the ZIP file. 18 | 19 | Notes: 20 | 21 | * If two JAR files on the project classpath have the same name, only the first 22 | JAR file is copied to the lib folder. 23 | * Only JAR files are copied to the lib folder. 24 | If the classpath contains other types of files or folders, these files (folders) 25 | are not copied. 26 | * If a library on the projects classpath also has a Class-Path element 27 | specified in the manifest,the content of the Class-Path element has to be on 28 | the projects runtime path. 29 | * To set a main class in a standard Java project, right-click the project node 30 | in the Projects window and choose Properties. Then click Run and enter the 31 | class name in the Main Class field. Alternatively, you can manually type the 32 | class name in the manifest Main-Class element. 33 | -------------------------------------------------------------------------------- /manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /mysql/passbox_db.sql: -------------------------------------------------------------------------------- 1 | -- phpMyAdmin SQL Dump 2 | -- version 4.6.5.2 3 | -- https://www.phpmyadmin.net/ 4 | -- 5 | -- Host: 127.0.0.1 6 | -- Generation Time: May 01, 2017 at 01:17 AM 7 | -- Server version: 10.1.21-MariaDB 8 | -- PHP Version: 7.1.1 9 | 10 | SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; 11 | SET time_zone = "+00:00"; 12 | 13 | 14 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; 15 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; 16 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; 17 | /*!40101 SET NAMES utf8mb4 */; 18 | 19 | -- 20 | -- Database: `passbox_db` 21 | -- 22 | 23 | -- -------------------------------------------------------- 24 | 25 | -- 26 | -- Table structure for table `password_database_tb` 27 | -- 28 | 29 | CREATE TABLE `password_database_tb` ( 30 | `u_id` int(10) NOT NULL, 31 | `account_name` varchar(50) COLLATE utf8mb4_turkish_ci NOT NULL, 32 | `username` varchar(50) COLLATE utf8mb4_turkish_ci NOT NULL, 33 | `password` varchar(50) COLLATE utf8mb4_turkish_ci NOT NULL, 34 | `email_address` varchar(50) COLLATE utf8mb4_turkish_ci NOT NULL 35 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_turkish_ci; 36 | 37 | -- 38 | -- Dumping data for table `password_database_tb` 39 | -- 40 | 41 | INSERT INTO `password_database_tb` (`u_id`, `account_name`, `username`, `password`, `email_address`) VALUES 42 | (2, 'github', 'ismailtasdelen', '5110passDb', 'ismailtasdelen@std.sehir.edu.tr'), 43 | (3, 'facebook', 'user123', 'pass123', 'user123@gmail.com'), 44 | (4, 'sadsa', 'asdsad', 'asdas', 'dasasd'); 45 | 46 | -- -------------------------------------------------------- 47 | 48 | -- 49 | -- Table structure for table `users_tb` 50 | -- 51 | 52 | CREATE TABLE `users_tb` ( 53 | `id` int(10) NOT NULL, 54 | `fullname` varchar(50) CHARACTER SET utf8 NOT NULL, 55 | `username` varchar(50) CHARACTER SET utf8 NOT NULL, 56 | `password` varchar(50) CHARACTER SET utf8 NOT NULL, 57 | `email_address` varchar(50) CHARACTER SET utf8 NOT NULL, 58 | `mobile_number` varchar(50) CHARACTER SET utf8 NOT NULL 59 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_turkish_ci; 60 | 61 | -- 62 | -- Dumping data for table `users_tb` 63 | -- 64 | 65 | INSERT INTO `users_tb` (`id`, `fullname`, `username`, `password`, `email_address`, `mobile_number`) VALUES 66 | (3, '?smail Ta?delen', 'root', 'toor', 'ismailtasdelen@std.sehir.edu.tr', '+905342959431'); 67 | 68 | -- 69 | -- Indexes for dumped tables 70 | -- 71 | 72 | -- 73 | -- Indexes for table `password_database_tb` 74 | -- 75 | ALTER TABLE `password_database_tb` 76 | ADD PRIMARY KEY (`u_id`), 77 | ADD KEY `u_id` (`u_id`); 78 | 79 | -- 80 | -- Indexes for table `users_tb` 81 | -- 82 | ALTER TABLE `users_tb` 83 | ADD PRIMARY KEY (`id`), 84 | ADD UNIQUE KEY `id` (`id`); 85 | 86 | -- 87 | -- AUTO_INCREMENT for dumped tables 88 | -- 89 | 90 | -- 91 | -- AUTO_INCREMENT for table `password_database_tb` 92 | -- 93 | ALTER TABLE `password_database_tb` 94 | MODIFY `u_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; 95 | -- 96 | -- AUTO_INCREMENT for table `users_tb` 97 | -- 98 | ALTER TABLE `users_tb` 99 | MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; 100 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; 101 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; 102 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; 103 | -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=5cedf9ec 2 | build.xml.script.CRC32=f1825515 3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=5cedf9ec 7 | nbproject/build-impl.xml.script.CRC32=05d4b96c 8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48 9 | -------------------------------------------------------------------------------- /nbproject/private/config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/nbproject/private/config.properties -------------------------------------------------------------------------------- /nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | do.depend=false 3 | do.jar=true 4 | file.reference.mail-1.4.7.jar=C:\\Users\\Aykut\\Desktop\\javamail-1.4.7\\mail.jar 5 | javac.debug=true 6 | javadoc.preview=true 7 | user.properties.file=C:\\Users\\q\\AppData\\Roaming\\NetBeans\\8.2\\build.properties 8 | -------------------------------------------------------------------------------- /nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <project-private xmlns="http://www.netbeans.org/ns/project-private/1"> 3 | <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/> 4 | <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2"> 5 | <group> 6 | <file>file:/C:/Users/Aykut/Desktop/PassBox/src/User_Edit_Page.java</file> 7 | <file>file:/C:/Users/Aykut/Desktop/PassBox/src/User_Control_Panel_Page.java</file> 8 | <file>file:/C:/Users/Aykut/Desktop/PassBox/PassBox/PassBox/src/Update_Password_Page.java</file> 9 | <file>file:/C:/Users/Aykut/Desktop/PassBox/PassBox/PassBox/src/Delete_Password_Page.java</file> 10 | </group> 11 | </open-files> 12 | </project-private> 13 | -------------------------------------------------------------------------------- /nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processors.list= 4 | annotation.processing.run.all.processors=true 5 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 6 | application.title=PassBox 7 | application.vendor=root 8 | build.classes.dir=${build.dir}/classes 9 | build.classes.excludes=**/*.java,**/*.form 10 | # This directory is removed when the project is cleaned: 11 | build.dir=build 12 | build.generated.dir=${build.dir}/generated 13 | build.generated.sources.dir=${build.dir}/generated-sources 14 | # Only compile against the classpath explicitly listed here: 15 | build.sysclasspath=ignore 16 | build.test.classes.dir=${build.dir}/test/classes 17 | build.test.results.dir=${build.dir}/test/results 18 | # Uncomment to specify the preferred debugger connection transport: 19 | #debug.transport=dt_socket 20 | debug.classpath=\ 21 | ${run.classpath} 22 | debug.test.classpath=\ 23 | ${run.test.classpath} 24 | # Files in build.classes.dir which should be excluded from distribution jar 25 | dist.archive.excludes= 26 | # This directory is removed when the project is cleaned: 27 | dist.dir=dist 28 | dist.jar=${dist.dir}/PassBox.jar 29 | dist.javadoc.dir=${dist.dir}/javadoc 30 | endorsed.classpath= 31 | excludes= 32 | file.reference.mail-1.4.7.jar=C:\\Users\\root\\Downloads\\mail-1.4.7.jar 33 | includes=** 34 | jar.compress=false 35 | javac.classpath=\ 36 | ${file.reference.mail-1.4.7.jar}:\ 37 | ${libs.MySQLDriver.classpath} 38 | # Space-separated list of extra javac options 39 | javac.compilerargs= 40 | javac.deprecation=false 41 | javac.external.vm=true 42 | javac.processorpath=\ 43 | ${javac.classpath} 44 | javac.source=1.8 45 | javac.target=1.8 46 | javac.test.classpath=\ 47 | ${javac.classpath}:\ 48 | ${build.classes.dir} 49 | javac.test.processorpath=\ 50 | ${javac.test.classpath} 51 | javadoc.additionalparam= 52 | javadoc.author=false 53 | javadoc.encoding=${source.encoding} 54 | javadoc.noindex=false 55 | javadoc.nonavbar=false 56 | javadoc.notree=false 57 | javadoc.private=false 58 | javadoc.splitindex=true 59 | javadoc.use=true 60 | javadoc.version=false 61 | javadoc.windowtitle= 62 | main.class=Login_Page 63 | manifest.file=manifest.mf 64 | meta.inf.dir=${src.dir}/META-INF 65 | mkdist.disabled=false 66 | platform.active=default_platform 67 | run.classpath=\ 68 | ${javac.classpath}:\ 69 | ${build.classes.dir} 70 | # Space-separated list of JVM arguments used when running the project. 71 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 72 | # To set system properties for unit tests define test-sys-prop.name=value: 73 | run.jvmargs= 74 | run.test.classpath=\ 75 | ${javac.test.classpath}:\ 76 | ${build.test.classes.dir} 77 | source.encoding=UTF-8 78 | src.dir=src 79 | test.src.dir=test 80 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <project xmlns="http://www.netbeans.org/ns/project/1"> 3 | <type>org.netbeans.modules.java.j2seproject</type> 4 | <configuration> 5 | <data xmlns="http://www.netbeans.org/ns/j2se-project/3"> 6 | <name>PassBox</name> 7 | <source-roots> 8 | <root id="src.dir"/> 9 | </source-roots> 10 | <test-roots> 11 | <root id="test.src.dir"/> 12 | </test-roots> 13 | </data> 14 | </configuration> 15 | </project> 16 | -------------------------------------------------------------------------------- /src/About_Us_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | About Us"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace pref="91" max="32767" attributes="0"/> 30 | <Group type="103" groupAlignment="0" attributes="0"> 31 | <Group type="102" alignment="1" attributes="0"> 32 | <Component id="jButton1" min="-2" pref="338" max="-2" attributes="0"/> 33 | <EmptySpace min="-2" pref="128" max="-2" attributes="0"/> 34 | </Group> 35 | <Group type="102" alignment="1" attributes="0"> 36 | <Component id="jLabel2" min="-2" pref="124" max="-2" attributes="0"/> 37 | <EmptySpace min="-2" pref="225" max="-2" attributes="0"/> 38 | </Group> 39 | <Group type="102" alignment="1" attributes="0"> 40 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 41 | <EmptySpace min="-2" pref="78" max="-2" attributes="0"/> 42 | </Group> 43 | <Group type="102" alignment="1" attributes="0"> 44 | <Component id="jButton2" min="-2" max="-2" attributes="0"/> 45 | <EmptySpace min="-2" pref="229" max="-2" attributes="0"/> 46 | </Group> 47 | </Group> 48 | </Group> 49 | </Group> 50 | </DimensionLayout> 51 | <DimensionLayout dim="1"> 52 | <Group type="103" groupAlignment="0" attributes="0"> 53 | <Group type="102" alignment="1" attributes="0"> 54 | <EmptySpace max="-2" attributes="0"/> 55 | <Component id="jButton1" min="-2" pref="321" max="-2" attributes="0"/> 56 | <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> 57 | <Component id="jLabel2" min="-2" max="-2" attributes="0"/> 58 | <EmptySpace max="-2" attributes="0"/> 59 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 60 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 61 | <Component id="jButton2" max="32767" attributes="0"/> 62 | <EmptySpace max="-2" attributes="0"/> 63 | </Group> 64 | </Group> 65 | </DimensionLayout> 66 | </Layout> 67 | <SubComponents> 68 | <Component class="javax.swing.JLabel" name="jLabel1"> 69 | <Properties> 70 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 71 | <Font name="Yu Gothic UI" size="20" style="1"/> 72 | </Property> 73 | <Property name="text" type="java.lang.String" value="This software is developed by Ismail Taşdelen."/> 74 | </Properties> 75 | </Component> 76 | <Component class="javax.swing.JLabel" name="jLabel2"> 77 | <Properties> 78 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 79 | <Font name="Yu Gothic UI" size="30" style="1"/> 80 | </Property> 81 | <Property name="text" type="java.lang.String" value="PassBox"/> 82 | </Properties> 83 | </Component> 84 | <Component class="javax.swing.JButton" name="jButton1"> 85 | <Properties> 86 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 87 | <Image iconType="3" name="/logo/PassBox.png"/> 88 | </Property> 89 | </Properties> 90 | </Component> 91 | <Component class="javax.swing.JButton" name="jButton2"> 92 | <Properties> 93 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 94 | <Font name="Tahoma" size="11" style="1"/> 95 | </Property> 96 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 97 | <Image iconType="3" name="/ico/turnback_ico.png"/> 98 | </Property> 99 | <Property name="text" type="java.lang.String" value="Turn Back"/> 100 | </Properties> 101 | <Events> 102 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> 103 | </Events> 104 | </Component> 105 | </SubComponents> 106 | </Form> 107 | -------------------------------------------------------------------------------- /src/About_Us_Page.java: -------------------------------------------------------------------------------- 1 | 2 | import java.awt.Toolkit; 3 | 4 | /* 5 | * To change this license header, choose License Headers in Project Properties. 6 | * To change this template file, choose Tools | Templates 7 | * and open the template in the editor. 8 | */ 9 | 10 | /** 11 | * 12 | * @author root 13 | */ 14 | public class About_Us_Page extends javax.swing.JFrame { 15 | 16 | /** 17 | * Creates new form About_Us_Page 18 | */ 19 | public About_Us_Page() { 20 | initComponents(); 21 | setIcon(); 22 | setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); 23 | } 24 | 25 | /** 26 | * This method is called from within the constructor to initialize the form. 27 | * WARNING: Do NOT modify this code. The content of this method is always 28 | * regenerated by the Form Editor. 29 | */ 30 | @SuppressWarnings("unchecked") 31 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 32 | private void initComponents() { 33 | 34 | jLabel1 = new javax.swing.JLabel(); 35 | jLabel2 = new javax.swing.JLabel(); 36 | jButton1 = new javax.swing.JButton(); 37 | jButton2 = new javax.swing.JButton(); 38 | 39 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 40 | setTitle("PassBox | About Us"); 41 | setResizable(false); 42 | 43 | jLabel1.setFont(new java.awt.Font("Yu Gothic UI", 1, 20)); // NOI18N 44 | jLabel1.setText("This software is developed by Ismail Taşdelen."); 45 | 46 | jLabel2.setFont(new java.awt.Font("Yu Gothic UI", 1, 30)); // NOI18N 47 | jLabel2.setText("PassBox"); 48 | 49 | jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/logo/PassBox.png"))); // NOI18N 50 | 51 | jButton2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 52 | jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/turnback_ico.png"))); // NOI18N 53 | jButton2.setText("Turn Back"); 54 | jButton2.addActionListener(new java.awt.event.ActionListener() { 55 | public void actionPerformed(java.awt.event.ActionEvent evt) { 56 | jButton2ActionPerformed(evt); 57 | } 58 | }); 59 | 60 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 61 | getContentPane().setLayout(layout); 62 | layout.setHorizontalGroup( 63 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 64 | .addGroup(layout.createSequentialGroup() 65 | .addContainerGap(91, Short.MAX_VALUE) 66 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 67 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 68 | .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 338, javax.swing.GroupLayout.PREFERRED_SIZE) 69 | .addGap(128, 128, 128)) 70 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 71 | .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 124, javax.swing.GroupLayout.PREFERRED_SIZE) 72 | .addGap(225, 225, 225)) 73 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 74 | .addComponent(jLabel1) 75 | .addGap(78, 78, 78)) 76 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 77 | .addComponent(jButton2) 78 | .addGap(229, 229, 229)))) 79 | ); 80 | layout.setVerticalGroup( 81 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 82 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 83 | .addContainerGap() 84 | .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 321, javax.swing.GroupLayout.PREFERRED_SIZE) 85 | .addGap(1, 1, 1) 86 | .addComponent(jLabel2) 87 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 88 | .addComponent(jLabel1) 89 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 90 | .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 91 | .addContainerGap()) 92 | ); 93 | 94 | pack(); 95 | }// </editor-fold>//GEN-END:initComponents 96 | 97 | private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed 98 | // TODO add your handling code here: 99 | this.setVisible(false); 100 | }//GEN-LAST:event_jButton2ActionPerformed 101 | 102 | /** 103 | * @param args the command line arguments 104 | */ 105 | public static void main(String args[]) { 106 | /* Set the Nimbus look and feel */ 107 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 108 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 109 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 110 | */ 111 | try { 112 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 113 | if ("Nimbus".equals(info.getName())) { 114 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 115 | break; 116 | } 117 | } 118 | } catch (ClassNotFoundException ex) { 119 | java.util.logging.Logger.getLogger(About_Us_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 120 | } catch (InstantiationException ex) { 121 | java.util.logging.Logger.getLogger(About_Us_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 122 | } catch (IllegalAccessException ex) { 123 | java.util.logging.Logger.getLogger(About_Us_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 124 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 125 | java.util.logging.Logger.getLogger(About_Us_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 126 | } 127 | //</editor-fold> 128 | 129 | /* Create and display the form */ 130 | java.awt.EventQueue.invokeLater(new Runnable() { 131 | public void run() { 132 | new About_Us_Page().setVisible(true); 133 | } 134 | }); 135 | } 136 | 137 | // Variables declaration - do not modify//GEN-BEGIN:variables 138 | private javax.swing.JButton jButton1; 139 | private javax.swing.JButton jButton2; 140 | private javax.swing.JLabel jLabel1; 141 | private javax.swing.JLabel jLabel2; 142 | // End of variables declaration//GEN-END:variables 143 | 144 | private void setIcon() { 145 | setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("passbox_ico.png"))); 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /src/Contact_Me_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Contact Me"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Component id="jButton2" min="-2" pref="330" max="-2" attributes="0"/> 31 | <Group type="103" groupAlignment="0" attributes="0"> 32 | <Group type="102" attributes="0"> 33 | <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> 34 | <Group type="103" groupAlignment="1" attributes="0"> 35 | <Component id="jLabel2" min="-2" max="-2" attributes="0"/> 36 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 37 | <Component id="jLabel3" alignment="1" min="-2" max="-2" attributes="0"/> 38 | <Component id="jLabel4" alignment="1" min="-2" max="-2" attributes="0"/> 39 | </Group> 40 | <EmptySpace max="32767" attributes="0"/> 41 | </Group> 42 | <Group type="102" attributes="0"> 43 | <EmptySpace max="-2" attributes="0"/> 44 | <Component id="exit_button" max="32767" attributes="0"/> 45 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 46 | </Group> 47 | </Group> 48 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> 49 | <Component id="jTextField2" pref="180" max="32767" attributes="0"/> 50 | <Component id="jTextField3" alignment="1" max="32767" attributes="0"/> 51 | <Component id="jTextField1" max="32767" attributes="0"/> 52 | <Component id="jButton_MailSend_Button" max="32767" attributes="0"/> 53 | <Component id="jScrollPane1" max="32767" attributes="0"/> 54 | </Group> 55 | <EmptySpace max="-2" attributes="0"/> 56 | </Group> 57 | </Group> 58 | </DimensionLayout> 59 | <DimensionLayout dim="1"> 60 | <Group type="103" groupAlignment="0" attributes="0"> 61 | <Group type="102" alignment="0" attributes="0"> 62 | <EmptySpace max="-2" attributes="0"/> 63 | <Group type="103" groupAlignment="0" attributes="0"> 64 | <Group type="102" attributes="0"> 65 | <Group type="103" groupAlignment="3" attributes="0"> 66 | <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 67 | <Component id="jTextField1" alignment="3" min="-2" max="-2" attributes="0"/> 68 | </Group> 69 | <EmptySpace type="separate" max="-2" attributes="0"/> 70 | <Group type="103" groupAlignment="3" attributes="0"> 71 | <Component id="jLabel2" alignment="3" min="-2" pref="14" max="-2" attributes="0"/> 72 | <Component id="jTextField2" alignment="3" min="-2" max="-2" attributes="0"/> 73 | </Group> 74 | <EmptySpace min="-2" pref="11" max="-2" attributes="0"/> 75 | <Group type="103" groupAlignment="3" attributes="0"> 76 | <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> 77 | <Component id="jTextField3" alignment="3" min="-2" max="-2" attributes="0"/> 78 | </Group> 79 | <EmptySpace max="-2" attributes="0"/> 80 | <Group type="103" groupAlignment="0" attributes="0"> 81 | <Group type="102" attributes="0"> 82 | <Component id="jLabel4" min="-2" pref="14" max="-2" attributes="0"/> 83 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 84 | </Group> 85 | <Component id="jScrollPane1" max="32767" attributes="0"/> 86 | </Group> 87 | <EmptySpace max="-2" attributes="0"/> 88 | <Group type="103" groupAlignment="3" attributes="0"> 89 | <Component id="jButton_MailSend_Button" alignment="3" min="-2" max="-2" attributes="0"/> 90 | <Component id="exit_button" alignment="3" min="-2" pref="41" max="-2" attributes="0"/> 91 | </Group> 92 | </Group> 93 | <Component id="jButton2" min="-2" max="-2" attributes="0"/> 94 | </Group> 95 | <EmptySpace max="-2" attributes="0"/> 96 | </Group> 97 | </Group> 98 | </DimensionLayout> 99 | </Layout> 100 | <SubComponents> 101 | <Component class="javax.swing.JButton" name="jButton_MailSend_Button"> 102 | <Properties> 103 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 104 | <Image iconType="3" name="/ico/send_ico.png"/> 105 | </Property> 106 | <Property name="text" type="java.lang.String" value="Send"/> 107 | </Properties> 108 | <Events> 109 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_MailSend_ButtonActionPerformed"/> 110 | </Events> 111 | </Component> 112 | <Component class="javax.swing.JButton" name="jButton2"> 113 | <Properties> 114 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 115 | <Image iconType="3" name="/logo/PassBox.png"/> 116 | </Property> 117 | </Properties> 118 | </Component> 119 | <Component class="javax.swing.JLabel" name="jLabel1"> 120 | <Properties> 121 | <Property name="text" type="java.lang.String" value="Full Name : "/> 122 | </Properties> 123 | </Component> 124 | <Component class="javax.swing.JLabel" name="jLabel2"> 125 | <Properties> 126 | <Property name="text" type="java.lang.String" value="Mail Address : "/> 127 | </Properties> 128 | </Component> 129 | <Component class="javax.swing.JLabel" name="jLabel3"> 130 | <Properties> 131 | <Property name="text" type="java.lang.String" value="Subject : "/> 132 | </Properties> 133 | </Component> 134 | <Component class="javax.swing.JLabel" name="jLabel4"> 135 | <Properties> 136 | <Property name="text" type="java.lang.String" value="Message : "/> 137 | </Properties> 138 | </Component> 139 | <Component class="javax.swing.JTextField" name="jTextField1"> 140 | </Component> 141 | <Component class="javax.swing.JTextField" name="jTextField2"> 142 | </Component> 143 | <Component class="javax.swing.JTextField" name="jTextField3"> 144 | </Component> 145 | <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 146 | <AuxValues> 147 | <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 148 | </AuxValues> 149 | 150 | <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 151 | <SubComponents> 152 | <Component class="javax.swing.JTextArea" name="jTextArea1"> 153 | <Properties> 154 | <Property name="columns" type="int" value="20"/> 155 | <Property name="lineWrap" type="boolean" value="true"/> 156 | <Property name="rows" type="int" value="5"/> 157 | <Property name="wrapStyleWord" type="boolean" value="true"/> 158 | </Properties> 159 | </Component> 160 | </SubComponents> 161 | </Container> 162 | <Component class="javax.swing.JButton" name="exit_button"> 163 | <Properties> 164 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 165 | <Image iconType="3" name="/ico/turnback_ico.png"/> 166 | </Property> 167 | <Property name="text" type="java.lang.String" value="Turn Back"/> 168 | </Properties> 169 | <Events> 170 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="exit_buttonActionPerformed"/> 171 | </Events> 172 | </Component> 173 | </SubComponents> 174 | </Form> 175 | -------------------------------------------------------------------------------- /src/Database_View.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Database View"/> 7 | <Property name="focusable" type="boolean" value="false"/> 8 | <Property name="resizable" type="boolean" value="false"/> 9 | </Properties> 10 | <SyntheticProperties> 11 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 12 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 13 | </SyntheticProperties> 14 | <AuxValues> 15 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 16 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 17 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 18 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 20 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 21 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 22 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 23 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 24 | </AuxValues> 25 | 26 | <Layout> 27 | <DimensionLayout dim="0"> 28 | <Group type="103" groupAlignment="0" attributes="0"> 29 | <Group type="102" attributes="0"> 30 | <EmptySpace max="-2" attributes="0"/> 31 | <Group type="103" groupAlignment="0" attributes="0"> 32 | <Component id="jScrollPane1" pref="813" max="32767" attributes="0"/> 33 | <Group type="102" attributes="0"> 34 | <Component id="turnback_button" min="-2" pref="200" max="-2" attributes="0"/> 35 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 36 | </Group> 37 | </Group> 38 | <EmptySpace max="-2" attributes="0"/> 39 | </Group> 40 | </Group> 41 | </DimensionLayout> 42 | <DimensionLayout dim="1"> 43 | <Group type="103" groupAlignment="0" attributes="0"> 44 | <Group type="102" alignment="0" attributes="0"> 45 | <EmptySpace max="-2" attributes="0"/> 46 | <Component id="jScrollPane1" min="-2" pref="268" max="-2" attributes="0"/> 47 | <EmptySpace max="-2" attributes="0"/> 48 | <Component id="turnback_button" max="32767" attributes="0"/> 49 | <EmptySpace max="-2" attributes="0"/> 50 | </Group> 51 | </Group> 52 | </DimensionLayout> 53 | </Layout> 54 | <SubComponents> 55 | <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 56 | <AuxValues> 57 | <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 58 | </AuxValues> 59 | 60 | <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 61 | <SubComponents> 62 | <Component class="javax.swing.JTable" name="table"> 63 | <Properties> 64 | <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor"> 65 | <Color blue="fe" green="b5" red="19" type="rgb"/> 66 | </Property> 67 | <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> 68 | <Table columnCount="5" rowCount="4"> 69 | <Column editable="true" title="ID" type="java.lang.Object"/> 70 | <Column editable="true" title="Account Name" type="java.lang.Object"/> 71 | <Column editable="true" title="Username" type="java.lang.Object"/> 72 | <Column editable="true" title="Password" type="java.lang.Object"/> 73 | <Column editable="true" title="Email Address" type="java.lang.Object"/> 74 | </Table> 75 | </Property> 76 | <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> 77 | <Dimension value="[500, 240]"/> 78 | </Property> 79 | <Property name="rowHeight" type="int" value="30"/> 80 | <Property name="rowMargin" type="int" value="5"/> 81 | </Properties> 82 | </Component> 83 | </SubComponents> 84 | </Container> 85 | <Component class="javax.swing.JButton" name="turnback_button"> 86 | <Properties> 87 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 88 | <Image iconType="3" name="/ico/turnback_ico.png"/> 89 | </Property> 90 | <Property name="text" type="java.lang.String" value="Turn Back"/> 91 | </Properties> 92 | <Events> 93 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 94 | </Events> 95 | </Component> 96 | </SubComponents> 97 | </Form> 98 | -------------------------------------------------------------------------------- /src/Database_View.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | import java.awt.Toolkit; 7 | import java.sql.*; 8 | import javax.swing.*; 9 | import javax.swing.table.DefaultTableModel; 10 | /** 11 | * 12 | * @author root 13 | */ 14 | public class Database_View extends javax.swing.JFrame { 15 | String url="jdbc:mysql://localhost:3306/"; //sizde 3306 olabilir 16 | String veritabaniadi="passbox_db"; // ulaşmak istediğiniz veri tabanı ismi 17 | String surucu="com.mysql.jdbc.Driver"; 18 | String kullaniciAdi="root"; // workbench deki kullanıcı adınız ne ise o "root" olabilir 19 | String kullaniciParolası=""; //workbench deki şifreniz ne ise o 20 | Connection baglanti=null; 21 | Statement komut=null; 22 | ResultSet gelenveri=null; 23 | PreparedStatement pst=null; 24 | 25 | /** 26 | * Creates new form Database_View 27 | */ 28 | public Database_View() { 29 | initComponents(); 30 | setIcon(); 31 | setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); 32 | baglantiac(); 33 | verilistele(); 34 | } 35 | public void verilistele() 36 | { try { 37 | Object []baslik={"ID","Account Name","Username","Password","Email Address"}; 38 | Object [][]veri; 39 | String sorgu="select * from passbox_db.password_database_tb"; 40 | PreparedStatement st=baglanti.prepareStatement(sorgu); 41 | try (ResultSet set = st.executeQuery()) { 42 | int count=0; set.last(); count=set.getRow(); 43 | veri=new Object [count][5]; set.first(); 44 | for(int i=0;i<count;i++){ 45 | for(int j=0;j<5;j++) 46 | veri[i][j]=set.getObject(j+1); 47 | set.next(); } 48 | table.setModel(new DefaultTableModel(veri,baslik)); set.close(); 49 | } 50 | } catch (SQLException ex) { 51 | JOptionPane.showInputDialog("veri listeleme hatası"+ex); 52 | } 53 | } 54 | public void baglantiac(){ 55 | try { 56 | Class.forName(surucu); 57 | //baglantı veri tabanı seçimi kullanıcı adı ve parola ile sağlanı 58 | baglanti= DriverManager.getConnection(url+veritabaniadi, kullaniciAdi,kullaniciParolası); 59 | } catch (ClassNotFoundException | SQLException ex) { 60 | JOptionPane.showInputDialog("Hata sunucu ve baglantı hatası"+ex); 61 | } 62 | } 63 | public void baglantikapat() 64 | { 65 | try { 66 | baglanti.close(); 67 | } catch (SQLException e) { 68 | JOptionPane.showInputDialog("Hata sunucu ve baglantı kapama hatası"+e); 69 | } 70 | } 71 | 72 | /** 73 | * This method is called from within the constructor to initialize the form. 74 | * WARNING: Do NOT modify this code. The content of this method is always 75 | * regenerated by the Form Editor. 76 | */ 77 | @SuppressWarnings("unchecked") 78 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 79 | private void initComponents() { 80 | 81 | jScrollPane1 = new javax.swing.JScrollPane(); 82 | table = new javax.swing.JTable(); 83 | turnback_button = new javax.swing.JButton(); 84 | 85 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 86 | setTitle("PassBox | Database View"); 87 | setFocusable(false); 88 | setResizable(false); 89 | 90 | table.setBackground(new java.awt.Color(25, 181, 254)); 91 | table.setModel(new javax.swing.table.DefaultTableModel( 92 | new Object [][] { 93 | {null, null, null, null, null}, 94 | {null, null, null, null, null}, 95 | {null, null, null, null, null}, 96 | {null, null, null, null, null} 97 | }, 98 | new String [] { 99 | "ID", "Account Name", "Username", "Password", "Email Address" 100 | } 101 | )); 102 | table.setPreferredSize(new java.awt.Dimension(500, 240)); 103 | table.setRowHeight(30); 104 | table.setRowMargin(5); 105 | jScrollPane1.setViewportView(table); 106 | 107 | turnback_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/turnback_ico.png"))); // NOI18N 108 | turnback_button.setText("Turn Back"); 109 | turnback_button.addActionListener(new java.awt.event.ActionListener() { 110 | public void actionPerformed(java.awt.event.ActionEvent evt) { 111 | turnback_buttonActionPerformed(evt); 112 | } 113 | }); 114 | 115 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 116 | getContentPane().setLayout(layout); 117 | layout.setHorizontalGroup( 118 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 119 | .addGroup(layout.createSequentialGroup() 120 | .addContainerGap() 121 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 122 | .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 813, Short.MAX_VALUE) 123 | .addGroup(layout.createSequentialGroup() 124 | .addComponent(turnback_button, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE) 125 | .addGap(0, 0, Short.MAX_VALUE))) 126 | .addContainerGap()) 127 | ); 128 | layout.setVerticalGroup( 129 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 130 | .addGroup(layout.createSequentialGroup() 131 | .addContainerGap() 132 | .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 268, javax.swing.GroupLayout.PREFERRED_SIZE) 133 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 134 | .addComponent(turnback_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 135 | .addContainerGap()) 136 | ); 137 | 138 | pack(); 139 | }// </editor-fold>//GEN-END:initComponents 140 | 141 | private void turnback_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_turnback_buttonActionPerformed 142 | // TODO add your handling code here: 143 | this.setVisible(false); 144 | }//GEN-LAST:event_turnback_buttonActionPerformed 145 | 146 | /** 147 | * @param args the command line arguments 148 | */ 149 | public static void main(String args[]) { 150 | /* Set the Nimbus look and feel */ 151 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 152 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 153 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 154 | */ 155 | try { 156 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 157 | if ("Nimbus".equals(info.getName())) { 158 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 159 | break; 160 | } 161 | } 162 | } catch (ClassNotFoundException ex) { 163 | java.util.logging.Logger.getLogger(Database_View.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 164 | } catch (InstantiationException ex) { 165 | java.util.logging.Logger.getLogger(Database_View.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 166 | } catch (IllegalAccessException ex) { 167 | java.util.logging.Logger.getLogger(Database_View.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 168 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 169 | java.util.logging.Logger.getLogger(Database_View.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 170 | } 171 | //</editor-fold> 172 | 173 | /* Create and display the form */ 174 | java.awt.EventQueue.invokeLater(new Runnable() { 175 | public void run() { 176 | new Database_View().setVisible(true); 177 | } 178 | }); 179 | } 180 | 181 | // Variables declaration - do not modify//GEN-BEGIN:variables 182 | private javax.swing.JScrollPane jScrollPane1; 183 | private javax.swing.JTable table; 184 | private javax.swing.JButton turnback_button; 185 | // End of variables declaration//GEN-END:variables 186 | 187 | private void setIcon() { 188 | setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("passbox_ico.png"))); 189 | } 190 | } 191 | -------------------------------------------------------------------------------- /src/Delete_Password_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Delete Password Page"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" alignment="0" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Component id="jButton1" min="-2" pref="350" max="-2" attributes="0"/> 31 | <EmptySpace max="-2" attributes="0"/> 32 | <Group type="103" groupAlignment="0" attributes="0"> 33 | <Group type="102" alignment="0" attributes="0"> 34 | <EmptySpace min="-2" pref="23" max="-2" attributes="0"/> 35 | <Group type="103" groupAlignment="1" attributes="0"> 36 | <Component id="jLabel3" min="-2" max="-2" attributes="0"/> 37 | <Component id="jLabel4" min="-2" max="-2" attributes="0"/> 38 | </Group> 39 | <EmptySpace min="-2" pref="9" max="-2" attributes="0"/> 40 | <Group type="103" groupAlignment="0" attributes="0"> 41 | <Component id="password_txt" max="32767" attributes="0"/> 42 | <Component id="email_address_txt" max="32767" attributes="0"/> 43 | </Group> 44 | </Group> 45 | <Group type="102" attributes="0"> 46 | <Component id="jButton2" min="-2" pref="138" max="-2" attributes="0"/> 47 | <EmptySpace max="32767" attributes="0"/> 48 | <Component id="jButton3" min="-2" pref="130" max="-2" attributes="0"/> 49 | </Group> 50 | <Group type="102" alignment="1" attributes="0"> 51 | <Group type="103" groupAlignment="1" attributes="0"> 52 | <Component id="jLabel2" min="-2" max="-2" attributes="0"/> 53 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 54 | </Group> 55 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 56 | <Group type="103" groupAlignment="0" attributes="0"> 57 | <Component id="social_media_name_txt" max="32767" attributes="0"/> 58 | <Component id="username_txt" max="32767" attributes="0"/> 59 | </Group> 60 | </Group> 61 | </Group> 62 | <EmptySpace max="-2" attributes="0"/> 63 | </Group> 64 | </Group> 65 | </DimensionLayout> 66 | <DimensionLayout dim="1"> 67 | <Group type="103" groupAlignment="0" attributes="0"> 68 | <Group type="102" attributes="0"> 69 | <EmptySpace max="32767" attributes="0"/> 70 | <Group type="103" groupAlignment="3" attributes="0"> 71 | <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/> 72 | <Component id="social_media_name_txt" alignment="3" min="-2" max="-2" attributes="0"/> 73 | </Group> 74 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 75 | <Group type="103" groupAlignment="3" attributes="0"> 76 | <Component id="username_txt" alignment="3" min="-2" max="-2" attributes="0"/> 77 | <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/> 78 | </Group> 79 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 80 | <Group type="103" groupAlignment="3" attributes="0"> 81 | <Component id="password_txt" alignment="3" min="-2" max="-2" attributes="0"/> 82 | <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/> 83 | </Group> 84 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 85 | <Group type="103" groupAlignment="3" attributes="0"> 86 | <Component id="email_address_txt" alignment="3" min="-2" max="-2" attributes="0"/> 87 | <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/> 88 | </Group> 89 | <EmptySpace min="-2" pref="55" max="-2" attributes="0"/> 90 | <Group type="103" groupAlignment="0" attributes="0"> 91 | <Component id="jButton2" min="-2" pref="87" max="-2" attributes="0"/> 92 | <Component id="jButton3" min="-2" pref="87" max="-2" attributes="0"/> 93 | </Group> 94 | <EmptySpace min="-2" max="-2" attributes="0"/> 95 | </Group> 96 | <Group type="102" alignment="0" attributes="0"> 97 | <Component id="jButton1" min="-2" max="-2" attributes="0"/> 98 | <EmptySpace min="0" pref="9" max="32767" attributes="0"/> 99 | </Group> 100 | </Group> 101 | </DimensionLayout> 102 | </Layout> 103 | <SubComponents> 104 | <Component class="javax.swing.JButton" name="jButton1"> 105 | <Properties> 106 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 107 | <Image iconType="3" name="/logo/PassBox.png"/> 108 | </Property> 109 | </Properties> 110 | </Component> 111 | <Component class="javax.swing.JButton" name="jButton2"> 112 | <Properties> 113 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 114 | <Image iconType="3" name="/ico/turnback_ico.png"/> 115 | </Property> 116 | <Property name="text" type="java.lang.String" value="Turn Back"/> 117 | </Properties> 118 | <Events> 119 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> 120 | </Events> 121 | </Component> 122 | <Component class="javax.swing.JButton" name="jButton3"> 123 | <Properties> 124 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 125 | <Image iconType="3" name="/ico/password_delete_ico.png"/> 126 | </Property> 127 | <Property name="text" type="java.lang.String" value="Delete Password"/> 128 | <Property name="horizontalTextPosition" type="int" value="0"/> 129 | <Property name="verticalTextPosition" type="int" value="3"/> 130 | </Properties> 131 | <Events> 132 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/> 133 | </Events> 134 | </Component> 135 | <Component class="javax.swing.JLabel" name="jLabel1"> 136 | <Properties> 137 | <Property name="text" type="java.lang.String" value="Social Media Name : "/> 138 | </Properties> 139 | </Component> 140 | <Component class="javax.swing.JTextField" name="social_media_name_txt"> 141 | <AuxValues> 142 | <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="9"/> 143 | </AuxValues> 144 | </Component> 145 | <Component class="javax.swing.JTextField" name="username_txt"> 146 | </Component> 147 | <Component class="javax.swing.JTextField" name="password_txt"> 148 | <AuxValues> 149 | <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="9"/> 150 | </AuxValues> 151 | </Component> 152 | <Component class="javax.swing.JTextField" name="email_address_txt"> 153 | <AuxValues> 154 | <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="9"/> 155 | </AuxValues> 156 | </Component> 157 | <Component class="javax.swing.JLabel" name="jLabel2"> 158 | <Properties> 159 | <Property name="text" type="java.lang.String" value="Username : "/> 160 | </Properties> 161 | </Component> 162 | <Component class="javax.swing.JLabel" name="jLabel3"> 163 | <Properties> 164 | <Property name="text" type="java.lang.String" value="Password : "/> 165 | </Properties> 166 | </Component> 167 | <Component class="javax.swing.JLabel" name="jLabel4"> 168 | <Properties> 169 | <Property name="text" type="java.lang.String" value="Email Address : "/> 170 | </Properties> 171 | </Component> 172 | </SubComponents> 173 | </Form> 174 | -------------------------------------------------------------------------------- /src/Forgot_Account_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Forgot Account ?"/> 7 | <Property name="autoRequestFocus" type="boolean" value="false"/> 8 | <Property name="focusCycleRoot" type="boolean" value="false"/> 9 | <Property name="focusable" type="boolean" value="false"/> 10 | <Property name="focusableWindowState" type="boolean" value="false"/> 11 | <Property name="resizable" type="boolean" value="false"/> 12 | </Properties> 13 | <SyntheticProperties> 14 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 15 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 16 | </SyntheticProperties> 17 | <AuxValues> 18 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 19 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 20 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 21 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 23 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 24 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 25 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 26 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 27 | </AuxValues> 28 | 29 | <Layout> 30 | <DimensionLayout dim="0"> 31 | <Group type="103" groupAlignment="0" attributes="0"> 32 | <Group type="102" attributes="0"> 33 | <EmptySpace min="-2" pref="2" max="-2" attributes="0"/> 34 | <Component id="jButton_Forgot_Account_PassBox_Logo" min="-2" pref="321" max="-2" attributes="0"/> 35 | <EmptySpace max="-2" attributes="0"/> 36 | <Group type="103" groupAlignment="0" attributes="0"> 37 | <Group type="102" attributes="0"> 38 | <Component id="jButton_Forgot_Account_TurnBack_Button" min="-2" pref="136" max="-2" attributes="0"/> 39 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 40 | <Component id="jButton_Forgot_Account_Exit_Button" min="-2" pref="136" max="-2" attributes="0"/> 41 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 42 | </Group> 43 | <Component id="jButton_Forgot_Account_ForgotPassword_Button" max="32767" attributes="0"/> 44 | <Component id="jButton_Forgot_Account_ForgotUsername_Button" alignment="0" max="32767" attributes="0"/> 45 | </Group> 46 | <EmptySpace max="-2" attributes="0"/> 47 | </Group> 48 | </Group> 49 | </DimensionLayout> 50 | <DimensionLayout dim="1"> 51 | <Group type="103" groupAlignment="1" attributes="0"> 52 | <Group type="102" alignment="0" attributes="0"> 53 | <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> 54 | <Group type="103" groupAlignment="1" attributes="0"> 55 | <Group type="102" attributes="0"> 56 | <Component id="jButton_Forgot_Account_ForgotUsername_Button" min="-2" pref="60" max="-2" attributes="0"/> 57 | <EmptySpace min="-2" pref="32" max="-2" attributes="0"/> 58 | <Component id="jButton_Forgot_Account_ForgotPassword_Button" min="-2" pref="60" max="-2" attributes="0"/> 59 | <EmptySpace min="-2" pref="55" max="-2" attributes="0"/> 60 | <Group type="103" groupAlignment="3" attributes="0"> 61 | <Component id="jButton_Forgot_Account_TurnBack_Button" alignment="3" min="-2" pref="60" max="-2" attributes="0"/> 62 | <Component id="jButton_Forgot_Account_Exit_Button" alignment="3" min="-2" pref="60" max="-2" attributes="0"/> 63 | </Group> 64 | </Group> 65 | <Component id="jButton_Forgot_Account_PassBox_Logo" min="-2" max="-2" attributes="0"/> 66 | </Group> 67 | <EmptySpace max="32767" attributes="0"/> 68 | </Group> 69 | </Group> 70 | </DimensionLayout> 71 | </Layout> 72 | <SubComponents> 73 | <Component class="javax.swing.JButton" name="jButton_Forgot_Account_PassBox_Logo"> 74 | <Properties> 75 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 76 | <Image iconType="3" name="/logo/PassBox.png"/> 77 | </Property> 78 | </Properties> 79 | </Component> 80 | <Component class="javax.swing.JButton" name="jButton_Forgot_Account_ForgotUsername_Button"> 81 | <Properties> 82 | <Property name="text" type="java.lang.String" value="Forgot Username ?"/> 83 | </Properties> 84 | <Events> 85 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_Forgot_Account_ForgotUsername_ButtonActionPerformed"/> 86 | </Events> 87 | </Component> 88 | <Component class="javax.swing.JButton" name="jButton_Forgot_Account_ForgotPassword_Button"> 89 | <Properties> 90 | <Property name="text" type="java.lang.String" value="Forgot Password ?"/> 91 | </Properties> 92 | </Component> 93 | <Component class="javax.swing.JButton" name="jButton_Forgot_Account_TurnBack_Button"> 94 | <Properties> 95 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 96 | <Image iconType="3" name="/ico/turnback_ico.png"/> 97 | </Property> 98 | <Property name="text" type="java.lang.String" value="Turn Back"/> 99 | </Properties> 100 | <Events> 101 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_Forgot_Account_TurnBack_ButtonActionPerformed"/> 102 | </Events> 103 | </Component> 104 | <Component class="javax.swing.JButton" name="jButton_Forgot_Account_Exit_Button"> 105 | <Properties> 106 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 107 | <Image iconType="3" name="/ico/exit_ico.png"/> 108 | </Property> 109 | <Property name="text" type="java.lang.String" value="Exit"/> 110 | </Properties> 111 | <Events> 112 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_Forgot_Account_Exit_ButtonActionPerformed"/> 113 | </Events> 114 | </Component> 115 | </SubComponents> 116 | </Form> 117 | -------------------------------------------------------------------------------- /src/Home.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Home Page"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Group type="103" groupAlignment="0" attributes="0"> 31 | <Component id="jButton1" alignment="1" max="32767" attributes="0"/> 32 | <Component id="jProgressBar1" alignment="0" max="32767" attributes="0"/> 33 | </Group> 34 | <EmptySpace max="-2" attributes="0"/> 35 | </Group> 36 | <Group type="102" alignment="1" attributes="0"> 37 | <EmptySpace pref="252" max="32767" attributes="0"/> 38 | <Component id="jLabel1" min="-2" max="-2" attributes="0"/> 39 | <EmptySpace min="-2" pref="237" max="-2" attributes="0"/> 40 | </Group> 41 | </Group> 42 | </DimensionLayout> 43 | <DimensionLayout dim="1"> 44 | <Group type="103" groupAlignment="0" attributes="0"> 45 | <Group type="102" alignment="1" attributes="0"> 46 | <EmptySpace max="-2" attributes="0"/> 47 | <Component id="jButton1" min="-2" max="-2" attributes="0"/> 48 | <EmptySpace max="-2" attributes="0"/> 49 | <Component id="jLabel1" pref="35" max="32767" attributes="0"/> 50 | <EmptySpace max="-2" attributes="0"/> 51 | <Component id="jProgressBar1" min="-2" pref="30" max="-2" attributes="0"/> 52 | <EmptySpace max="-2" attributes="0"/> 53 | </Group> 54 | </Group> 55 | </DimensionLayout> 56 | </Layout> 57 | <SubComponents> 58 | <Component class="javax.swing.JProgressBar" name="jProgressBar1"> 59 | <Properties> 60 | <Property name="stringPainted" type="boolean" value="true"/> 61 | </Properties> 62 | </Component> 63 | <Component class="javax.swing.JButton" name="jButton1"> 64 | <Properties> 65 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 66 | <Image iconType="3" name="/logo/PassBox.png"/> 67 | </Property> 68 | </Properties> 69 | </Component> 70 | <Component class="javax.swing.JLabel" name="jLabel1"> 71 | <Properties> 72 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 73 | <Font name="Tahoma" size="24" style="1"/> 74 | </Property> 75 | <Property name="text" type="java.lang.String" value="PassBox v1.0.0"/> 76 | </Properties> 77 | </Component> 78 | </SubComponents> 79 | </Form> 80 | -------------------------------------------------------------------------------- /src/Home.java: -------------------------------------------------------------------------------- 1 | 2 | import java.awt.event.ActionListener; 3 | import javax.swing.Timer; 4 | 5 | /* 6 | * To change this license header, choose License Headers in Project Properties. 7 | * To change this template file, choose Tools | Templates 8 | * and open the template in the editor. 9 | */ 10 | 11 | 12 | /** 13 | * 14 | * @author q 15 | */ 16 | public class Home extends javax.swing.JFrame { 17 | 18 | /** 19 | * Creates new form Home 20 | */ 21 | public Home() { 22 | initComponents(); 23 | int value; 24 | for(int i=0;i<=100;i++) 25 | { 26 | 27 | jProgressBar1.setValue(i); 28 | } 29 | } 30 | 31 | /** 32 | * This method is called from within the constructor to initialize the form. 33 | * WARNING: Do NOT modify this code. The content of this method is always 34 | * regenerated by the Form Editor. 35 | */ 36 | @SuppressWarnings("unchecked") 37 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 38 | private void initComponents() { 39 | 40 | jProgressBar1 = new javax.swing.JProgressBar(); 41 | jButton1 = new javax.swing.JButton(); 42 | jLabel1 = new javax.swing.JLabel(); 43 | 44 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 45 | setTitle("PassBox | Home Page"); 46 | setResizable(false); 47 | 48 | jProgressBar1.setStringPainted(true); 49 | 50 | jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/logo/PassBox.png"))); // NOI18N 51 | 52 | jLabel1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 53 | jLabel1.setText("PassBox v1.0.0"); 54 | 55 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 56 | getContentPane().setLayout(layout); 57 | layout.setHorizontalGroup( 58 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 59 | .addGroup(layout.createSequentialGroup() 60 | .addContainerGap() 61 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 62 | .addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 63 | .addComponent(jProgressBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 64 | .addContainerGap()) 65 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 66 | .addContainerGap(252, Short.MAX_VALUE) 67 | .addComponent(jLabel1) 68 | .addGap(237, 237, 237)) 69 | ); 70 | layout.setVerticalGroup( 71 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 72 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() 73 | .addContainerGap() 74 | .addComponent(jButton1) 75 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 76 | .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 35, Short.MAX_VALUE) 77 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 78 | .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) 79 | .addContainerGap()) 80 | ); 81 | 82 | pack(); 83 | }// </editor-fold>//GEN-END:initComponents 84 | 85 | /** 86 | * @param args the command line arguments 87 | */ 88 | public static void main(String args[]) { 89 | /* Set the Nimbus look and feel */ 90 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 91 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 92 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 93 | */ 94 | try { 95 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 96 | if ("Nimbus".equals(info.getName())) { 97 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 98 | break; 99 | } 100 | } 101 | } catch (ClassNotFoundException ex) { 102 | java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 103 | } catch (InstantiationException ex) { 104 | java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 105 | } catch (IllegalAccessException ex) { 106 | java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 107 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 108 | java.util.logging.Logger.getLogger(Home.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 109 | } 110 | //</editor-fold> 111 | 112 | /* Create and display the form */ 113 | java.awt.EventQueue.invokeLater(new Runnable() { 114 | public void run() { 115 | new Home().setVisible(true); 116 | } 117 | }); 118 | } 119 | 120 | // Variables declaration - do not modify//GEN-BEGIN:variables 121 | private javax.swing.JButton jButton1; 122 | private javax.swing.JLabel jLabel1; 123 | private javax.swing.JProgressBar jProgressBar1; 124 | // End of variables declaration//GEN-END:variables 125 | } 126 | -------------------------------------------------------------------------------- /src/Log_Control_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Log Control Page"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Group type="103" groupAlignment="0" attributes="0"> 31 | <Component id="jScrollPane1" pref="715" max="32767" attributes="0"/> 32 | <Group type="102" attributes="0"> 33 | <Component id="turnback_button" min="-2" pref="275" max="-2" attributes="0"/> 34 | <EmptySpace type="separate" max="-2" attributes="0"/> 35 | <Component id="deletealllogs_button" max="32767" attributes="0"/> 36 | </Group> 37 | </Group> 38 | <EmptySpace max="-2" attributes="0"/> 39 | </Group> 40 | </Group> 41 | </DimensionLayout> 42 | <DimensionLayout dim="1"> 43 | <Group type="103" groupAlignment="0" attributes="0"> 44 | <Group type="102" alignment="0" attributes="0"> 45 | <EmptySpace max="-2" attributes="0"/> 46 | <Component id="jScrollPane1" min="-2" pref="300" max="-2" attributes="0"/> 47 | <EmptySpace max="-2" attributes="0"/> 48 | <Group type="103" groupAlignment="0" max="-2" attributes="0"> 49 | <Component id="turnback_button" pref="50" max="32767" attributes="0"/> 50 | <Component id="deletealllogs_button" max="32767" attributes="0"/> 51 | </Group> 52 | <EmptySpace max="32767" attributes="0"/> 53 | </Group> 54 | </Group> 55 | </DimensionLayout> 56 | </Layout> 57 | <SubComponents> 58 | <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 59 | <AuxValues> 60 | <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 61 | </AuxValues> 62 | 63 | <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 64 | <SubComponents> 65 | <Component class="javax.swing.JTable" name="table"> 66 | <Properties> 67 | <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> 68 | <Table columnCount="5" rowCount="4"> 69 | <Column editable="true" title="Log Id" type="java.lang.Object"/> 70 | <Column editable="true" title="User Id" type="java.lang.Object"/> 71 | <Column editable="true" title="Fullname" type="java.lang.Object"/> 72 | <Column editable="true" title="Username" type="java.lang.Object"/> 73 | <Column editable="true" title="Entry Time" type="java.lang.Object"/> 74 | </Table> 75 | </Property> 76 | <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor"> 77 | <TableColumnModel selectionModel="0"> 78 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 79 | <Title/> 80 | <Editor/> 81 | <Renderer/> 82 | </Column> 83 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 84 | <Title/> 85 | <Editor/> 86 | <Renderer/> 87 | </Column> 88 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 89 | <Title/> 90 | <Editor/> 91 | <Renderer/> 92 | </Column> 93 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 94 | <Title/> 95 | <Editor/> 96 | <Renderer/> 97 | </Column> 98 | <Column maxWidth="-1" minWidth="-1" prefWidth="-1" resizable="true"> 99 | <Title/> 100 | <Editor/> 101 | <Renderer/> 102 | </Column> 103 | </TableColumnModel> 104 | </Property> 105 | <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor"> 106 | <TableHeader reorderingAllowed="true" resizingAllowed="true"/> 107 | </Property> 108 | </Properties> 109 | </Component> 110 | </SubComponents> 111 | </Container> 112 | <Component class="javax.swing.JButton" name="turnback_button"> 113 | <Properties> 114 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 115 | <Font name="Tahoma" size="11" style="1"/> 116 | </Property> 117 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 118 | <Image iconType="3" name="/ico/turnback_ico.png"/> 119 | </Property> 120 | <Property name="text" type="java.lang.String" value="Turn Back"/> 121 | </Properties> 122 | <Events> 123 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 124 | </Events> 125 | </Component> 126 | <Component class="javax.swing.JButton" name="deletealllogs_button"> 127 | <Properties> 128 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 129 | <Font name="Tahoma" size="11" style="1"/> 130 | </Property> 131 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 132 | <Image iconType="3" name="/ico/password_delete_ico.png"/> 133 | </Property> 134 | <Property name="text" type="java.lang.String" value="Delete All Logs"/> 135 | </Properties> 136 | </Component> 137 | </SubComponents> 138 | </Form> 139 | -------------------------------------------------------------------------------- /src/Log_Control_Page.java: -------------------------------------------------------------------------------- 1 | 2 | import java.awt.Toolkit; 3 | 4 | /* 5 | * To change this license header, choose License Headers in Project Properties. 6 | * To change this template file, choose Tools | Templates 7 | * and open the template in the editor. 8 | */ 9 | 10 | /** 11 | * 12 | * @author q 13 | */ 14 | public class Log_Control_Page extends javax.swing.JFrame { 15 | 16 | /** 17 | * Creates new form Log_Control_Page 18 | */ 19 | public Log_Control_Page() { 20 | initComponents(); 21 | setIcon(); 22 | } 23 | 24 | /** 25 | * This method is called from within the constructor to initialize the form. 26 | * WARNING: Do NOT modify this code. The content of this method is always 27 | * regenerated by the Form Editor. 28 | */ 29 | @SuppressWarnings("unchecked") 30 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 31 | private void initComponents() { 32 | 33 | jScrollPane1 = new javax.swing.JScrollPane(); 34 | table = new javax.swing.JTable(); 35 | turnback_button = new javax.swing.JButton(); 36 | deletealllogs_button = new javax.swing.JButton(); 37 | 38 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 39 | setTitle("PassBox | Log Control Page"); 40 | setResizable(false); 41 | 42 | table.setModel(new javax.swing.table.DefaultTableModel( 43 | new Object [][] { 44 | {null, null, null, null, null}, 45 | {null, null, null, null, null}, 46 | {null, null, null, null, null}, 47 | {null, null, null, null, null} 48 | }, 49 | new String [] { 50 | "Log Id", "User Id", "Fullname", "Username", "Entry Time" 51 | } 52 | )); 53 | jScrollPane1.setViewportView(table); 54 | 55 | turnback_button.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 56 | turnback_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/turnback_ico.png"))); // NOI18N 57 | turnback_button.setText("Turn Back"); 58 | turnback_button.addActionListener(new java.awt.event.ActionListener() { 59 | public void actionPerformed(java.awt.event.ActionEvent evt) { 60 | turnback_buttonActionPerformed(evt); 61 | } 62 | }); 63 | 64 | deletealllogs_button.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 65 | deletealllogs_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/password_delete_ico.png"))); // NOI18N 66 | deletealllogs_button.setText("Delete All Logs"); 67 | 68 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 69 | getContentPane().setLayout(layout); 70 | layout.setHorizontalGroup( 71 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 72 | .addGroup(layout.createSequentialGroup() 73 | .addContainerGap() 74 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 75 | .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 715, Short.MAX_VALUE) 76 | .addGroup(layout.createSequentialGroup() 77 | .addComponent(turnback_button, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE) 78 | .addGap(18, 18, 18) 79 | .addComponent(deletealllogs_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) 80 | .addContainerGap()) 81 | ); 82 | layout.setVerticalGroup( 83 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 84 | .addGroup(layout.createSequentialGroup() 85 | .addContainerGap() 86 | .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 300, javax.swing.GroupLayout.PREFERRED_SIZE) 87 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 88 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) 89 | .addComponent(turnback_button, javax.swing.GroupLayout.DEFAULT_SIZE, 50, Short.MAX_VALUE) 90 | .addComponent(deletealllogs_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 91 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 92 | ); 93 | 94 | pack(); 95 | }// </editor-fold>//GEN-END:initComponents 96 | 97 | private void turnback_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_turnback_buttonActionPerformed 98 | // TODO add your handling code here: 99 | this.setVisible(false); 100 | }//GEN-LAST:event_turnback_buttonActionPerformed 101 | 102 | /** 103 | * @param args the command line arguments 104 | */ 105 | public static void main(String args[]) { 106 | /* Set the Nimbus look and feel */ 107 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 108 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 109 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 110 | */ 111 | try { 112 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 113 | if ("Nimbus".equals(info.getName())) { 114 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 115 | break; 116 | } 117 | } 118 | } catch (ClassNotFoundException ex) { 119 | java.util.logging.Logger.getLogger(Log_Control_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 120 | } catch (InstantiationException ex) { 121 | java.util.logging.Logger.getLogger(Log_Control_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 122 | } catch (IllegalAccessException ex) { 123 | java.util.logging.Logger.getLogger(Log_Control_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 124 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 125 | java.util.logging.Logger.getLogger(Log_Control_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 126 | } 127 | //</editor-fold> 128 | 129 | /* Create and display the form */ 130 | java.awt.EventQueue.invokeLater(new Runnable() { 131 | public void run() { 132 | new Log_Control_Page().setVisible(true); 133 | } 134 | }); 135 | } 136 | 137 | // Variables declaration - do not modify//GEN-BEGIN:variables 138 | private javax.swing.JButton deletealllogs_button; 139 | private javax.swing.JScrollPane jScrollPane1; 140 | private javax.swing.JTable table; 141 | private javax.swing.JButton turnback_button; 142 | // End of variables declaration//GEN-END:variables 143 | 144 | private void setIcon() { 145 | setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("passbox_ico.png"))); 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /src/Management_Password_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Management Password Page"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" alignment="0" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Component id="jButton_new_add_password_logo" min="-2" pref="413" max="-2" attributes="0"/> 31 | <EmptySpace max="-2" attributes="0"/> 32 | <Group type="103" groupAlignment="0" attributes="0"> 33 | <Component id="jButton_new_password_add" alignment="1" pref="298" max="32767" attributes="0"/> 34 | <Component id="jButton_password_delete" alignment="1" max="32767" attributes="0"/> 35 | <Component id="jButton_database_view" alignment="1" max="32767" attributes="0"/> 36 | <Component id="jButton_TurnBack" alignment="0" max="32767" attributes="0"/> 37 | <Component id="jButton1" alignment="0" max="32767" attributes="0"/> 38 | </Group> 39 | <EmptySpace max="-2" attributes="0"/> 40 | </Group> 41 | </Group> 42 | </DimensionLayout> 43 | <DimensionLayout dim="1"> 44 | <Group type="103" groupAlignment="0" attributes="0"> 45 | <Group type="102" alignment="0" attributes="0"> 46 | <EmptySpace max="-2" attributes="0"/> 47 | <Group type="103" groupAlignment="0" attributes="0"> 48 | <Component id="jButton_new_add_password_logo" pref="418" max="32767" attributes="0"/> 49 | <Group type="102" attributes="0"> 50 | <Component id="jButton_new_password_add" min="-2" pref="68" max="-2" attributes="0"/> 51 | <EmptySpace max="-2" attributes="0"/> 52 | <Component id="jButton_password_delete" min="-2" pref="64" max="-2" attributes="0"/> 53 | <EmptySpace max="-2" attributes="0"/> 54 | <Component id="jButton1" min="-2" pref="66" max="-2" attributes="0"/> 55 | <EmptySpace max="-2" attributes="0"/> 56 | <Component id="jButton_database_view" min="-2" pref="66" max="-2" attributes="0"/> 57 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 58 | <Component id="jButton_TurnBack" max="32767" attributes="0"/> 59 | <EmptySpace min="-2" pref="10" max="-2" attributes="0"/> 60 | </Group> 61 | </Group> 62 | <EmptySpace max="-2" attributes="0"/> 63 | </Group> 64 | </Group> 65 | </DimensionLayout> 66 | </Layout> 67 | <SubComponents> 68 | <Component class="javax.swing.JButton" name="jButton_new_password_add"> 69 | <Properties> 70 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 71 | <Font name="Tahoma" size="11" style="1"/> 72 | </Property> 73 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 74 | <Image iconType="3" name="/ico/add_password_ico.png"/> 75 | </Property> 76 | <Property name="text" type="java.lang.String" value="New Password Add"/> 77 | <Property name="horizontalTextPosition" type="int" value="0"/> 78 | <Property name="verifyInputWhenFocusTarget" type="boolean" value="false"/> 79 | <Property name="verticalTextPosition" type="int" value="3"/> 80 | </Properties> 81 | <Events> 82 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_new_password_addActionPerformed"/> 83 | </Events> 84 | </Component> 85 | <Component class="javax.swing.JButton" name="jButton_database_view"> 86 | <Properties> 87 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 88 | <Font name="Tahoma" size="11" style="1"/> 89 | </Property> 90 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 91 | <Image iconType="3" name="/ico/database_password_view_ico.png"/> 92 | </Property> 93 | <Property name="text" type="java.lang.String" value="Database View"/> 94 | <Property name="horizontalTextPosition" type="int" value="0"/> 95 | <Property name="verticalTextPosition" type="int" value="3"/> 96 | </Properties> 97 | <Events> 98 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_database_viewActionPerformed"/> 99 | </Events> 100 | </Component> 101 | <Component class="javax.swing.JButton" name="jButton_password_delete"> 102 | <Properties> 103 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 104 | <Font name="Tahoma" size="11" style="1"/> 105 | </Property> 106 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 107 | <Image iconType="3" name="/ico/password_delete_ico.png"/> 108 | </Property> 109 | <Property name="text" type="java.lang.String" value="Password Delete"/> 110 | <Property name="horizontalTextPosition" type="int" value="0"/> 111 | <Property name="verticalTextPosition" type="int" value="3"/> 112 | </Properties> 113 | <Events> 114 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_password_deleteActionPerformed"/> 115 | </Events> 116 | </Component> 117 | <Component class="javax.swing.JButton" name="jButton_new_add_password_logo"> 118 | <Properties> 119 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 120 | <Image iconType="3" name="/logo/PassBox.png"/> 121 | </Property> 122 | </Properties> 123 | </Component> 124 | <Component class="javax.swing.JButton" name="jButton_TurnBack"> 125 | <Properties> 126 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 127 | <Font name="Tahoma" size="11" style="1"/> 128 | </Property> 129 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 130 | <Image iconType="3" name="/ico/turnback_ico.png"/> 131 | </Property> 132 | <Property name="text" type="java.lang.String" value="Turn Back"/> 133 | <Property name="horizontalTextPosition" type="int" value="0"/> 134 | <Property name="verticalTextPosition" type="int" value="3"/> 135 | </Properties> 136 | <Events> 137 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton_TurnBackActionPerformed"/> 138 | </Events> 139 | </Component> 140 | <Component class="javax.swing.JButton" name="jButton1"> 141 | <Properties> 142 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 143 | <Font name="Tahoma" size="11" style="1"/> 144 | </Property> 145 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 146 | <Image iconType="3" name="/ico/database_update_ico.png"/> 147 | </Property> 148 | <Property name="text" type="java.lang.String" value="Password Update"/> 149 | <Property name="horizontalTextPosition" type="int" value="0"/> 150 | <Property name="verticalTextPosition" type="int" value="3"/> 151 | </Properties> 152 | <Events> 153 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/> 154 | </Events> 155 | </Component> 156 | </SubComponents> 157 | </Form> 158 | -------------------------------------------------------------------------------- /src/Software_Update_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | Software Update Page"/> 7 | </Properties> 8 | <SyntheticProperties> 9 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 10 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 11 | </SyntheticProperties> 12 | <AuxValues> 13 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 14 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 15 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 16 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 17 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 19 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 20 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 21 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 22 | </AuxValues> 23 | 24 | <Layout> 25 | <DimensionLayout dim="0"> 26 | <Group type="103" groupAlignment="0" attributes="0"> 27 | <Group type="102" alignment="0" attributes="0"> 28 | <EmptySpace max="-2" attributes="0"/> 29 | <Component id="jButton1" min="-2" pref="325" max="-2" attributes="0"/> 30 | <EmptySpace max="-2" attributes="0"/> 31 | <Group type="103" groupAlignment="0" attributes="0"> 32 | <Component id="github_button" pref="299" max="32767" attributes="0"/> 33 | <Component id="jButton2" max="32767" attributes="0"/> 34 | <Component id="turnback_button" alignment="0" max="32767" attributes="0"/> 35 | </Group> 36 | <EmptySpace max="-2" attributes="0"/> 37 | </Group> 38 | </Group> 39 | </DimensionLayout> 40 | <DimensionLayout dim="1"> 41 | <Group type="103" groupAlignment="0" attributes="0"> 42 | <Group type="102" alignment="0" attributes="0"> 43 | <EmptySpace max="32767" attributes="0"/> 44 | <Group type="103" groupAlignment="0" attributes="0"> 45 | <Component id="jButton1" min="-2" max="-2" attributes="0"/> 46 | <Group type="102" attributes="0"> 47 | <Component id="github_button" min="-2" pref="115" max="-2" attributes="0"/> 48 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 49 | <Component id="jButton2" min="-2" pref="115" max="-2" attributes="0"/> 50 | <EmptySpace min="-2" pref="13" max="-2" attributes="0"/> 51 | <Component id="turnback_button" min="-2" pref="67" max="-2" attributes="0"/> 52 | </Group> 53 | </Group> 54 | <EmptySpace max="32767" attributes="0"/> 55 | </Group> 56 | </Group> 57 | </DimensionLayout> 58 | </Layout> 59 | <SubComponents> 60 | <Component class="javax.swing.JButton" name="jButton1"> 61 | <Properties> 62 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 63 | <Image iconType="3" name="/logo/PassBox.png"/> 64 | </Property> 65 | </Properties> 66 | </Component> 67 | <Component class="javax.swing.JButton" name="github_button"> 68 | <Properties> 69 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 70 | <Font name="Tahoma" size="11" style="1"/> 71 | </Property> 72 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 73 | <Image iconType="3" name="/ico/github-logo.png"/> 74 | </Property> 75 | <Property name="text" type="java.lang.String" value="GitHub"/> 76 | <Property name="horizontalTextPosition" type="int" value="0"/> 77 | <Property name="verticalTextPosition" type="int" value="3"/> 78 | </Properties> 79 | <Events> 80 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="github_buttonActionPerformed"/> 81 | </Events> 82 | </Component> 83 | <Component class="javax.swing.JButton" name="turnback_button"> 84 | <Properties> 85 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 86 | <Font name="Tahoma" size="11" style="1"/> 87 | </Property> 88 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 89 | <Image iconType="3" name="/ico/turnback_ico.png"/> 90 | </Property> 91 | <Property name="text" type="java.lang.String" value="Turn Back"/> 92 | </Properties> 93 | <Events> 94 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 95 | </Events> 96 | </Component> 97 | <Component class="javax.swing.JButton" name="jButton2"> 98 | <Properties> 99 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 100 | <Font name="Tahoma" size="11" style="1"/> 101 | </Property> 102 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 103 | <Image iconType="3" name="/ico/website.png"/> 104 | </Property> 105 | <Property name="text" type="java.lang.String" value="Website"/> 106 | <Property name="horizontalTextPosition" type="int" value="0"/> 107 | <Property name="verticalTextPosition" type="int" value="3"/> 108 | </Properties> 109 | <Events> 110 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/> 111 | </Events> 112 | </Component> 113 | </SubComponents> 114 | </Form> 115 | -------------------------------------------------------------------------------- /src/Software_Update_Page.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | import java.awt.Desktop; 7 | import static java.awt.Desktop.getDesktop; 8 | import java.awt.Toolkit; 9 | import java.io.IOException; 10 | import java.net.URI; 11 | import java.net.URISyntaxException; 12 | import java.util.logging.Level; 13 | import java.util.logging.Logger; 14 | /** 15 | * 16 | * @author q 17 | */ 18 | public class Software_Update_Page extends javax.swing.JFrame { 19 | 20 | /** 21 | * Creates new form Software_Update_Page 22 | */ 23 | public Software_Update_Page() { 24 | initComponents(); 25 | setIcon(); 26 | setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); 27 | } 28 | 29 | /** 30 | * This method is called from within the constructor to initialize the form. 31 | * WARNING: Do NOT modify this code. The content of this method is always 32 | * regenerated by the Form Editor. 33 | */ 34 | @SuppressWarnings("unchecked") 35 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 36 | private void initComponents() { 37 | 38 | jButton1 = new javax.swing.JButton(); 39 | github_button = new javax.swing.JButton(); 40 | turnback_button = new javax.swing.JButton(); 41 | jButton2 = new javax.swing.JButton(); 42 | 43 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 44 | setTitle("PassBox | Software Update Page"); 45 | 46 | jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/logo/PassBox.png"))); // NOI18N 47 | 48 | github_button.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 49 | github_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/github-logo.png"))); // NOI18N 50 | github_button.setText("GitHub"); 51 | github_button.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); 52 | github_button.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); 53 | github_button.addActionListener(new java.awt.event.ActionListener() { 54 | public void actionPerformed(java.awt.event.ActionEvent evt) { 55 | github_buttonActionPerformed(evt); 56 | } 57 | }); 58 | 59 | turnback_button.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 60 | turnback_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/turnback_ico.png"))); // NOI18N 61 | turnback_button.setText("Turn Back"); 62 | turnback_button.addActionListener(new java.awt.event.ActionListener() { 63 | public void actionPerformed(java.awt.event.ActionEvent evt) { 64 | turnback_buttonActionPerformed(evt); 65 | } 66 | }); 67 | 68 | jButton2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 69 | jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/website.png"))); // NOI18N 70 | jButton2.setText("Website"); 71 | jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); 72 | jButton2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); 73 | jButton2.addActionListener(new java.awt.event.ActionListener() { 74 | public void actionPerformed(java.awt.event.ActionEvent evt) { 75 | jButton2ActionPerformed(evt); 76 | } 77 | }); 78 | 79 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 80 | getContentPane().setLayout(layout); 81 | layout.setHorizontalGroup( 82 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 83 | .addGroup(layout.createSequentialGroup() 84 | .addContainerGap() 85 | .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 325, javax.swing.GroupLayout.PREFERRED_SIZE) 86 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) 87 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 88 | .addComponent(github_button, javax.swing.GroupLayout.DEFAULT_SIZE, 299, Short.MAX_VALUE) 89 | .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 90 | .addComponent(turnback_button, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 91 | .addContainerGap()) 92 | ); 93 | layout.setVerticalGroup( 94 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 95 | .addGroup(layout.createSequentialGroup() 96 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 97 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 98 | .addComponent(jButton1) 99 | .addGroup(layout.createSequentialGroup() 100 | .addComponent(github_button, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE) 101 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 102 | .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE) 103 | .addGap(13, 13, 13) 104 | .addComponent(turnback_button, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE))) 105 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 106 | ); 107 | 108 | pack(); 109 | }// </editor-fold>//GEN-END:initComponents 110 | 111 | private void turnback_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_turnback_buttonActionPerformed 112 | // TODO add your handling code here: 113 | this.setVisible(false); 114 | }//GEN-LAST:event_turnback_buttonActionPerformed 115 | 116 | private void github_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_github_buttonActionPerformed 117 | try { 118 | // TODO add your handling code here: 119 | Desktop desktop = getDesktop(); 120 | desktop.browse(new URI("https://github.com/ismailtasdelen/PassBox")); 121 | } catch (URISyntaxException | IOException ex) { 122 | Logger.getLogger(Software_Update_Page.class.getName()).log(Level.SEVERE, null, ex); 123 | } 124 | 125 | }//GEN-LAST:event_github_buttonActionPerformed 126 | 127 | private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed 128 | // TODO add your handling code here: 129 | }//GEN-LAST:event_jButton2ActionPerformed 130 | 131 | /** 132 | * @param args the command line arguments 133 | */ 134 | public static void main(String args[]) { 135 | /* Set the Nimbus look and feel */ 136 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 137 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 138 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 139 | */ 140 | try { 141 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 142 | if ("Nimbus".equals(info.getName())) { 143 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 144 | break; 145 | } 146 | } 147 | } catch (ClassNotFoundException ex) { 148 | java.util.logging.Logger.getLogger(Software_Update_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 149 | } catch (InstantiationException ex) { 150 | java.util.logging.Logger.getLogger(Software_Update_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 151 | } catch (IllegalAccessException ex) { 152 | java.util.logging.Logger.getLogger(Software_Update_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 153 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 154 | java.util.logging.Logger.getLogger(Software_Update_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 155 | } 156 | //</editor-fold> 157 | 158 | /* Create and display the form */ 159 | java.awt.EventQueue.invokeLater(new Runnable() { 160 | public void run() { 161 | new Software_Update_Page().setVisible(true); 162 | } 163 | }); 164 | } 165 | 166 | // Variables declaration - do not modify//GEN-BEGIN:variables 167 | private javax.swing.JButton github_button; 168 | private javax.swing.JButton jButton1; 169 | private javax.swing.JButton jButton2; 170 | private javax.swing.JButton turnback_button; 171 | // End of variables declaration//GEN-END:variables 172 | 173 | private void setIcon() { 174 | setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("passbox_ico.png"))); 175 | } 176 | } 177 | -------------------------------------------------------------------------------- /src/User_Database_View_Page.form: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" ?> 2 | 3 | <Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo"> 4 | <Properties> 5 | <Property name="defaultCloseOperation" type="int" value="3"/> 6 | <Property name="title" type="java.lang.String" value="PassBox | User Database View"/> 7 | <Property name="resizable" type="boolean" value="false"/> 8 | </Properties> 9 | <SyntheticProperties> 10 | <SyntheticProperty name="formSizePolicy" type="int" value="1"/> 11 | <SyntheticProperty name="generateCenter" type="boolean" value="false"/> 12 | </SyntheticProperties> 13 | <AuxValues> 14 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> 15 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> 16 | <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> 17 | <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> 18 | <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> 19 | <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> 20 | <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> 21 | <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> 22 | <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> 23 | </AuxValues> 24 | 25 | <Layout> 26 | <DimensionLayout dim="0"> 27 | <Group type="103" groupAlignment="0" attributes="0"> 28 | <Group type="102" attributes="0"> 29 | <EmptySpace max="-2" attributes="0"/> 30 | <Group type="103" groupAlignment="0" attributes="0"> 31 | <Component id="jScrollPane1" pref="665" max="32767" attributes="0"/> 32 | <Group type="102" alignment="0" attributes="0"> 33 | <Component id="turnback_button" min="-2" pref="145" max="-2" attributes="0"/> 34 | <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 35 | </Group> 36 | </Group> 37 | <EmptySpace max="-2" attributes="0"/> 38 | </Group> 39 | </Group> 40 | </DimensionLayout> 41 | <DimensionLayout dim="1"> 42 | <Group type="103" groupAlignment="0" attributes="0"> 43 | <Group type="102" alignment="0" attributes="0"> 44 | <EmptySpace max="-2" attributes="0"/> 45 | <Component id="jScrollPane1" min="-2" pref="150" max="-2" attributes="0"/> 46 | <EmptySpace type="unrelated" max="-2" attributes="0"/> 47 | <Component id="turnback_button" min="-2" pref="60" max="-2" attributes="0"/> 48 | <EmptySpace max="32767" attributes="0"/> 49 | </Group> 50 | </Group> 51 | </DimensionLayout> 52 | </Layout> 53 | <SubComponents> 54 | <Container class="javax.swing.JScrollPane" name="jScrollPane1"> 55 | <AuxValues> 56 | <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> 57 | </AuxValues> 58 | 59 | <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 60 | <SubComponents> 61 | <Component class="javax.swing.JTable" name="table_userdatabasview"> 62 | <Properties> 63 | <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor"> 64 | <Table columnCount="4" rowCount="4"> 65 | <Column editable="true" title="Title 1" type="java.lang.Object"/> 66 | <Column editable="true" title="Title 2" type="java.lang.Object"/> 67 | <Column editable="true" title="Title 3" type="java.lang.Object"/> 68 | <Column editable="true" title="Title 4" type="java.lang.Object"/> 69 | </Table> 70 | </Property> 71 | </Properties> 72 | </Component> 73 | </SubComponents> 74 | </Container> 75 | <Component class="javax.swing.JButton" name="turnback_button"> 76 | <Properties> 77 | <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor"> 78 | <Font name="Tahoma" size="11" style="1"/> 79 | </Property> 80 | <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> 81 | <Image iconType="3" name="/ico/turnback_ico.png"/> 82 | </Property> 83 | <Property name="text" type="java.lang.String" value="Turn Back"/> 84 | </Properties> 85 | <Events> 86 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="turnback_buttonActionPerformed"/> 87 | </Events> 88 | </Component> 89 | </SubComponents> 90 | </Form> 91 | -------------------------------------------------------------------------------- /src/User_Database_View_Page.java: -------------------------------------------------------------------------------- 1 | 2 | import java.awt.Toolkit; 3 | import java.sql.*; 4 | import javax.swing.*; 5 | import javax.swing.table.DefaultTableModel; 6 | /* 7 | * To change this license header, choose License Headers in Project Properties. 8 | * To change this template file, choose Tools | Templates 9 | * and open the template in the editor. 10 | */ 11 | 12 | /** 13 | * 14 | * @author q 15 | */ 16 | public class User_Database_View_Page extends javax.swing.JFrame { 17 | String url="jdbc:mysql://localhost:3306/"; //sizde 3306 olabilir 18 | String veritabaniadi="passbox_db"; // ulaşmak istediğiniz veri tabanı ismi 19 | String surucu="com.mysql.jdbc.Driver"; 20 | String kullaniciAdi="root"; // workbench deki kullanıcı adınız ne ise o "root" olabilir 21 | String kullaniciParolası=""; //workbench deki şifreniz ne ise o 22 | Connection baglanti=null; 23 | Statement komut=null; 24 | ResultSet gelenveri=null; 25 | PreparedStatement pst=null; 26 | /** 27 | * Creates new form User_Database_View 28 | */ 29 | public User_Database_View_Page() { 30 | initComponents(); 31 | setIcon(); 32 | baglantiac(); 33 | verilistele(); 34 | } 35 | public void verilistele() 36 | { try { 37 | Object []baslik={"ID","Full Name","Username","Password","Email Address","Mobile Number"}; 38 | Object [][]veri; 39 | String sorgu="select * from passbox_db.users_tb"; 40 | PreparedStatement st=baglanti.prepareStatement(sorgu); 41 | try (ResultSet set = st.executeQuery()) { 42 | int count=0; set.last(); count=set.getRow(); 43 | veri=new Object [count][6]; set.first(); 44 | for(int i=0;i<count;i++){ 45 | for(int j=0;j<6;j++) 46 | veri[i][j]=set.getObject(j+1); 47 | set.next(); } 48 | table_userdatabasview.setModel(new DefaultTableModel(veri,baslik)); set.close(); 49 | } 50 | } catch (SQLException ex) { 51 | JOptionPane.showInputDialog("veri listeleme hatası"+ex); 52 | } 53 | } 54 | public void baglantiac(){ 55 | try { 56 | Class.forName(surucu); 57 | //baglantı veri tabanı seçimi kullanıcı adı ve parola ile sağlanı 58 | baglanti= DriverManager.getConnection(url+veritabaniadi, kullaniciAdi,kullaniciParolası); 59 | } catch (ClassNotFoundException | SQLException ex) { 60 | JOptionPane.showInputDialog("Hata sunucu ve baglantı hatası"+ex); 61 | } 62 | } 63 | public void baglantikapat() 64 | { 65 | try { 66 | baglanti.close(); 67 | } catch (SQLException e) { 68 | JOptionPane.showInputDialog("Hata sunucu ve baglantı kapama hatası"+e); 69 | } 70 | } 71 | 72 | /** 73 | * This method is called from within the constructor to initialize the form. 74 | * WARNING: Do NOT modify this code. The content of this method is always 75 | * regenerated by the Form Editor. 76 | */ 77 | @SuppressWarnings("unchecked") 78 | // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents 79 | private void initComponents() { 80 | 81 | jScrollPane1 = new javax.swing.JScrollPane(); 82 | table_userdatabasview = new javax.swing.JTable(); 83 | turnback_button = new javax.swing.JButton(); 84 | 85 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 86 | setTitle("PassBox | User Database View"); 87 | setResizable(false); 88 | 89 | table_userdatabasview.setModel(new javax.swing.table.DefaultTableModel( 90 | new Object [][] { 91 | {null, null, null, null}, 92 | {null, null, null, null}, 93 | {null, null, null, null}, 94 | {null, null, null, null} 95 | }, 96 | new String [] { 97 | "Title 1", "Title 2", "Title 3", "Title 4" 98 | } 99 | )); 100 | jScrollPane1.setViewportView(table_userdatabasview); 101 | 102 | turnback_button.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N 103 | turnback_button.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ico/turnback_ico.png"))); // NOI18N 104 | turnback_button.setText("Turn Back"); 105 | turnback_button.addActionListener(new java.awt.event.ActionListener() { 106 | public void actionPerformed(java.awt.event.ActionEvent evt) { 107 | turnback_buttonActionPerformed(evt); 108 | } 109 | }); 110 | 111 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 112 | getContentPane().setLayout(layout); 113 | layout.setHorizontalGroup( 114 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 115 | .addGroup(layout.createSequentialGroup() 116 | .addContainerGap() 117 | .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 118 | .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 665, Short.MAX_VALUE) 119 | .addGroup(layout.createSequentialGroup() 120 | .addComponent(turnback_button, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE) 121 | .addGap(0, 0, Short.MAX_VALUE))) 122 | .addContainerGap()) 123 | ); 124 | layout.setVerticalGroup( 125 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 126 | .addGroup(layout.createSequentialGroup() 127 | .addContainerGap() 128 | .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE) 129 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 130 | .addComponent(turnback_button, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE) 131 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 132 | ); 133 | 134 | pack(); 135 | }// </editor-fold>//GEN-END:initComponents 136 | 137 | private void turnback_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_turnback_buttonActionPerformed 138 | // TODO add your handling code here: 139 | this.setVisible(false); 140 | }//GEN-LAST:event_turnback_buttonActionPerformed 141 | 142 | /** 143 | * @param args the command line arguments 144 | */ 145 | public static void main(String args[]) { 146 | /* Set the Nimbus look and feel */ 147 | //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> 148 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 149 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 150 | */ 151 | try { 152 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 153 | if ("Nimbus".equals(info.getName())) { 154 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 155 | break; 156 | } 157 | } 158 | } catch (ClassNotFoundException ex) { 159 | java.util.logging.Logger.getLogger(User_Database_View_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 160 | } catch (InstantiationException ex) { 161 | java.util.logging.Logger.getLogger(User_Database_View_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 162 | } catch (IllegalAccessException ex) { 163 | java.util.logging.Logger.getLogger(User_Database_View_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 164 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 165 | java.util.logging.Logger.getLogger(User_Database_View_Page.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 166 | } 167 | //</editor-fold> 168 | //</editor-fold> 169 | 170 | /* Create and display the form */ 171 | java.awt.EventQueue.invokeLater(new Runnable() { 172 | public void run() { 173 | new User_Database_View_Page().setVisible(true); 174 | } 175 | }); 176 | } 177 | 178 | // Variables declaration - do not modify//GEN-BEGIN:variables 179 | private javax.swing.JScrollPane jScrollPane1; 180 | private javax.swing.JTable table_userdatabasview; 181 | private javax.swing.JButton turnback_button; 182 | // End of variables declaration//GEN-END:variables 183 | 184 | private void setIcon() { 185 | setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("passbox_ico.png"))); 186 | } 187 | } 188 | -------------------------------------------------------------------------------- /src/ico/about_me_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/about_me_ico.png -------------------------------------------------------------------------------- /src/ico/add_new_password_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/add_new_password_ico.png -------------------------------------------------------------------------------- /src/ico/add_password_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/add_password_ico.png -------------------------------------------------------------------------------- /src/ico/contact_me_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/contact_me_ico.png -------------------------------------------------------------------------------- /src/ico/contact_us.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/contact_us.png -------------------------------------------------------------------------------- /src/ico/database_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/database_ico.png -------------------------------------------------------------------------------- /src/ico/database_password_view_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/database_password_view_ico.png -------------------------------------------------------------------------------- /src/ico/database_update_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/database_update_ico.png -------------------------------------------------------------------------------- /src/ico/database_view_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/database_view_ico.png -------------------------------------------------------------------------------- /src/ico/default_user_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/default_user_ico.png -------------------------------------------------------------------------------- /src/ico/exit_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/exit_ico.png -------------------------------------------------------------------------------- /src/ico/forgot_password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/forgot_password.png -------------------------------------------------------------------------------- /src/ico/github-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/github-logo.png -------------------------------------------------------------------------------- /src/ico/log_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/log_file.png -------------------------------------------------------------------------------- /src/ico/login_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/login_button.png -------------------------------------------------------------------------------- /src/ico/password_delete_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/password_delete_ico.png -------------------------------------------------------------------------------- /src/ico/password_management_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/password_management_ico.png -------------------------------------------------------------------------------- /src/ico/register_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/register_ico.png -------------------------------------------------------------------------------- /src/ico/send_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/send_ico.png -------------------------------------------------------------------------------- /src/ico/software-update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/software-update.png -------------------------------------------------------------------------------- /src/ico/turnback_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/turnback_ico.png -------------------------------------------------------------------------------- /src/ico/update_database_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/update_database_ico.png -------------------------------------------------------------------------------- /src/ico/user_edit_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/user_edit_ico.png -------------------------------------------------------------------------------- /src/ico/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/ico/website.png -------------------------------------------------------------------------------- /src/logo/PassBox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/logo/PassBox.png -------------------------------------------------------------------------------- /src/passbox_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sectool/PassBox/f7892a54f7508124acba088b32880dd7c54db96a/src/passbox_ico.png -------------------------------------------------------------------------------- /src/progressbar_class/Login_Page.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | package progressbar_class; 7 | 8 | /** 9 | * 10 | * @author q 11 | */ 12 | class Login_Page { 13 | 14 | } 15 | --------------------------------------------------------------------------------