The actual Java library management system (swing version) (2) - Features

Log function

img

Realization of ideas: In this project, although the use of the database, but not create user tables in a database logins, so only the user login is successful is scheduled to die (ie, the user name: Joe Smith; password: 123456), by user input the user name and password to the system established by comparing the user name and password, if that is true both for the correct account login is successful, otherwise the login fails. I.e. reset function of emptying the contents of two input boxes.

Main interface

img

Realization of ideas: the central panel of the main interface is a picture, and the top is a menu bar.

Book Catalog Adding functionality

img

Realization of ideas: get user input, and insert it into the database table books can, to achieve this is to add functionality.

Book category maintenance functions

img

Functions to achieve:

  • Implement the query function is to get the books category name entered by the user, since there is no use of fuzzy query, so we enter a books category full name to the query is successful, the user inputs books category name to query the data in the database and display it on the form.
  • It will display the data row after the election in a row in the table below each text box control.
  • You can modify the selected line is displayed after the contents of the text box below, modify, click the Modify button to get user input and then again using the updated SQL statement to update data in a database table to complete the modification.
  • Delete button function is to delete this record, delete records is to specify the number by taking the number of text boxes, while the number is not editable, otherwise it will delete failed.

Book add functionality

img

Realization of ideas: adding functionality is to obtain user input data is then inserted into the database tables. Reset button to clear the user input.

Book maintenance functions

img

Realization of ideas:

  • Query button: access to books name entered by the user, book author, book categories and multi-criteria query, the query results to convert the data in the table can be displayed in a database table, and finally displayed in the table.
  • Reset button: to clear all the user's input.
  • Users select the data table rows and each following control.
  • Edit button: get the user input, then modify the SQL modify the contents of a database table, and then modify the contents of the complete success of the show in the table.
  • Delete button: acquiring content ID text box, and then delete this record in a database table according to number.

Exit Function

img

Function realization: quit the whole program.

About Software Features

img

Function realization: Click on "About the Software" menu item, then pop up the dialog, and the above "relevant GitHub link" click opens.

 

Searchable public micro-channel number [ Java example program ] or scan the Fanger Wei code number to get more public attention.

Note: No public reply in the background [ 20200123 ] available demo videos of each function of the project.

img

Published 399 original articles · won praise 42 · views 90000 +

Guess you like

Origin blog.csdn.net/cnds123321/article/details/103855882