Academic Desktop Application
- Overview
- Key Features
- Technology Stack
- System Architecture
- Installation Guide
- How to Run
- User Roles
- Reports
- Future Enhancements
- Default Credentials
- License
The Smart Crop Supply Management System is a Java-based desktop application developed as part of the Enterprise Application Development (EAD) module. The system digitalizes crop supply operations by connecting officers, farmers, and buyers through a centralized management platform.
It enables efficient farmer registration, crop handling, supply preparation, inventory management, invoice generation, and reporting using a modern UI and a relational database.
- Role-based authentication (Admin, Officer, Buyer)
- Secure login and registration system
- Farmer and crop management
- Supply preparation and inventory tracking
- Buyer request and invoice management
- JasperReports integration (PDF reports)
- Modern dark-themed UI using FlatLaf
- MySQL database integration via JDBC
| Category | Technology |
|---|---|
| Programming Language | Java (JDK 21) |
| UI Framework | Java Swing |
| Layout Manager | MigLayout |
| Look & Feel | FlatLaf (Dark) |
| Database | MySQL (phpMyAdmin) |
| Database Connectivity | JDBC |
| Reporting Tool | JasperReports |
| JAR to EXE Convertion | Launch 4j |
- Presentation Layer: Java Swing UI
- Business Logic Layer: Java Controllers & Managers
- Data Access Layer: JDBC + MySQL
- Reporting Layer: JasperReports (PDF Export)
- Clone the GitHub repository to your local machine.
- Install MySQL Server and phpMyAdmin.
- Create a new database for the system.
- Import the provided
SYSTEM_DATABASE.sqlcreate database namedead_cwand import file. - Configure database credentials in the DB connection class.
-
Project Default MySQL port is
3307.
If had any issue , use this edition:->SmartCrop-v1.0.1 [3306] -
Generated reports will be exported to:
C:/reports/
(The folder is created automatically if it does not exist.)
Run using JAR file:
java -jar SmartCrop-v1.0.1.jar
OR run from IDE:
- Open the project in IntelliJ IDEA / NetBeans / Eclipse
- Set the main class
- Run the application
| Role | Description |
|---|---|
| Admin | Manages system users, configurations, and overall monitoring |
| Officer | Handles farmers, crops, supply preparation, inventory, and reports |
| Buyer | Requests crops, views invoices, and checks supply status |
- Farmer Report
- Crop Report
- Supply & Inventory Report
- Invoice Report (PDF)
Reports are generated using JasperReports and exported as PDF files.
- Advanced analytics dashboards
- Email and notification system
- PDF export support
- Improved security and validation
- Web-based and mobile versions
- ADMIN → username:
admin| password:1234 - OFFICER → username:
officer| password:1234 - BUYER → username:
buyer| password:1234
This project is licensed under the MIT License.
See the LICENSE file for details.
© 2026 Smart Crop Supply Management System
Developed by KGL Sandanimne
For Educational & Academic Purposes