0% found this document useful (0 votes)
2 views6 pages

Commodity Management System Project Guide

The document outlines a project for creating a Commodity Information Management System using Object Oriented Programming. It details steps for implementing various functionalities such as adding, deleting, modifying, and querying product records through a GUI. Additionally, it includes optional tasks for enhancing the project and mentions the project score and upcoming class schedule.

Uploaded by

Brahim Boutal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

Commodity Management System Project Guide

The document outlines a project for creating a Commodity Information Management System using Object Oriented Programming. It details steps for implementing various functionalities such as adding, deleting, modifying, and querying product records through a GUI. Additionally, it includes optional tasks for enhancing the project and mentions the project score and upcoming class schedule.

Uploaded by

Brahim Boutal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Object Oriented

Programming

Lecturer:Li Mingxia
E-Mail:limx@[Link]

DaLian Polytechnic University


1 Create a Project of Commodity
information management system
 Step 1: Create an InsertData class in the goods package to
connect to the MySQL database, and implement the main
functions of adding, deleting, modifying, and querying.
2.1 The main page of product listing management. The splash
page implements the GUI using the Swing component.
2.2 After filling in the product number, name, and price on the
main page, click the [add] button to pop up a dialog box to add
records, and click [确定] to complete the addition function.
 Step 2: Create a goodManage class in the goods package,and
execute the main function.

DaLian Polytechnic University


2. Project Task

 Step 1: Add Delete, Modify, and query buttons on the


main page.[6 points]
 Step 2: Delete the event handler of the button: Click the
Delete button to display the dialog box of the deletion.
Click the [OK] button to complete the deletion
operation. [12 points]

DaLian Polytechnic University


2. Task
Step 3: Modify the event handler of the button: Click
the Modify button to display the dialog box of the
modification record. Click the [OK] button to
complete the modification operation.[12 points]
Step 4: Event handler of the "Query" button: If no
product information is filled in, click "Query" directly.
The dialog box "Information cannot be empty or the
input format is incorrect" will pop up. Click the "OK"
button to return to the main page.(Queries should be
fuzzy, not exact) [22 points]

DaLian Polytechnic University


2. Task
Step 5: Optional-Implement the function you want to
achieve.[8 points]
eg:
[Link] all the data you need based on any one data item
[Link] for all products with 1 in their name
[Link] about all products with a price greater than 100 RMB
[Link] main page of the query shows all products
5. The page is more beautiful
6.
and so on

DaLian Polytechnic University


2. Task
1. Next Monday 5-8 lessons 101 classRoom
2. Check the project task.
3. The project score is 60 points, please pay attention
to it

DaLian Polytechnic University

You might also like