How to Build a Java Desktop Database Application
The Java programming language includes the JDBC programming library that allows a developer to make database-driven server and client-side programs. JDBC is also incorporated in the NetBeans Java component architecture that embeds the methods that query and update information in your defined database. Most of the predefined libraries that are bundled with JDBC and NetBeans are geared towards relational databases but can be modified to use with other defined data formats using ODBC connections.
Instructions
-
-
1
Download and install the NetBeans Integrated Development Environment (see first item in Resources below).
-
2
Open the NetBeans IDE and select "File->New Project."
-
-
3
Select the expansion symbol on the first menu panel of the NetBeans application wizard and choose the "Java Application Template" followed by the "Next" menu button.
-
4
Input a project name in the "Project Name" field. Then choose the "Set as Main Project" check box on the menu selection screen.
-
5
Pick the "Database Application" menu option in the "Choose Application Shell" field dialogue menu and click the "Next" menu button.
-
6
Choose the database connection for your project in the subsequent menu, followed by the "Next" menu button. You should then see the data displayed in your IDE from the database. Select the columns you desire to have displayed in the application, followed by the "Finish" menu button. Your desktop application will now be created.
-
1