Running background:
A simple warehouse commodity management system implemented by Java swing. The database uses mysql. This system implements functions at two role levels. Administrators can manage users, warehouses, commodity information, etc. Ordinary users can view commodity, warehouse information and personal information after logging in. The level of design adopts the idea of mvc, which is very clear and is a good material for learning and reference.
Configuration:
1. Download and install eclipse+mysql software
2. Download the compressed package (compressed package address -> system source code )
3. Unzip the compressed package and import the project into eclipse. If your Java environment is not configured properly, please refer to the following operations.
Ok, now the project is configured.
4. The next step is to configure the database information, in the db file under the util folder.
Use the cmd black line command to enter the source command to import the .sql file in the compressed package into the database. Note: The database name must be the same as the configuration file. As shown in the figure:
Well, the configuration is complete here.
5.Run login can be run, as shown in the figure:
Run example:
login interface:
Let's log in as an administrator first. The administrator user name is admin and the password is 123.
This background image is changed randomly. There are several images in the images folder, loaded randomly.
User Management:
Commodity management:
Warehouse management:
Next, we log in to the system as an ordinary user, user name java, password 123: