Proprietary software for desktop to manage records ( J2SE )
Java Project for News Paper Agency , Records Handling
Features :
- Organized sql and java based application for day to day record handling
- Table view of data and automatic bill calculation and upload and download of images
- Send sms to unpaid customers
- Import/ Export data from excel sheet
Interface :
-
DashBoard
- Open other windows
-
Customer
- Add a new customer
- search for unique mobile number in database and fetch database if it exists
- The info about paper,select area is derived based on available hawker
- usual SQL queries like store(insert) ,update ,delete
-
Hawker Display
- Display data of all hawkers in form of table
- Open respective image by clicking on link
-
Hawker Control
- Add a new hawker(data automatically fetched if same hawker name exists)
- write data and upload image to images/ library
- simple SQL queried like new(insert) , update , remove (delete)
-
Costumer Display
-
- fetch or sort(based on paper name) customer data and display in form of table
- export data to excel sheet and import data from excel sheet to table
-
Paper Master
- Insert paper and or update its values
- SQL queried new(insert),clear(delete),update,remove(delete)
-
Bill History
- Bill history of customers fetched via mobile numbers (primary key) and sorted paid or unpaid
-
Bill Generator
- Generate bill of customer by subtracting current date from date when last bill was calculated
- And displaying the total amount to be paid
- Generate All : to generate bill for all customers
- Sending sms for respective bill amount
-
Bill Collector
- fetch all bills based on the mobile number and select them as paid
Installation :
- Ensure you java jre + jdk is installed in pc. Also add C:/Program Files/Java/jdk_x/bin is added to path.
- Install Eclipse and open this repo as a project .
- To install javafx open help>eclipse marketplace>search(javafx) or link
- Or add extenal jars of javafx(Download from gluon) and poi to your project (Properties>Java Build Path>Libraries)
- error : javafx-runtime-components-are-missing-and-are-required-to-run-this-application link
- Add library poi in referenced libraries. Project>Properties>Libraries>Add Exter Jars. Select all jar files from "lib\poi-4.1.2" and "lib\poi-4.1.2\lib"
- Add library sql-connector in referenced libraries. Project>Properties>Libraries>Add Exter Jars. Select all jar files from "lib\mysql-connector-java-8.0.26"
Database (or import from sql/newsagency.sql) :
-
Create a database name "newsagency"
-
Table: papers
paper **price ** varchar-primary key float Java : paperMaster/paperMasterController.java
-
Table : hawkers
name mobile address areas aadharpic salary doj pk-vc vc vc vc vc int date Java : hawkerControl/HawkerControlController.java
-
Table : customers
name mobile address papers hawker curdate vc vc vc vc vc date Java : customer/CustomerController.java
-
Table:- billing
billid cust_mobile noofdays date_of_billing amount status int-pk-auto increment vc int date float int-default:0 Java : billGenerator/BillGeneratorController.java
Software used :
Java 11,Eclipse 2020-6 (JavaFx installed), SceneBuilder (gluon) 11.0.2 , xampp
Libraries used :
poi (convert database to excel) , sql , openjavafx_sdk