pr-mittal / NewsPaperAgency

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proprietary software for desktop to manage records ( J2SE )

NewsPaperAgency

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 :

  1. DashBoard

    image

    • Open other windows
  2. Customer

    image

    • 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
  3. Hawker Display

    image

    • Display data of all hawkers in form of table
    • Open respective image by clicking on link
  4. Hawker Control

    image

    • 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)
  5. Costumer Display

  6. image

    • 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
  7. Paper Master

    image

    • Insert paper and or update its values
    • SQL queried new(insert),clear(delete),update,remove(delete)
  8. Bill History

    image

    • Bill history of customers fetched via mobile numbers (primary key) and sorted paid or unpaid
  9. Bill Generator

    image

    • 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
  10. Bill Collector

    image

    • fetch all bills based on the mobile number and select them as paid

Installation :

  1. Ensure you java jre + jdk is installed in pc. Also add C:/Program Files/Java/jdk_x/bin is added to path.
  2. Install Eclipse and open this repo as a project .
  3. To install javafx open help>eclipse marketplace>search(javafx) or link
  4. Or add extenal jars of javafx(Download from gluon) and poi to your project (Properties>Java Build Path>Libraries)
  5. error : javafx-runtime-components-are-missing-and-are-required-to-run-this-application link
  6. 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"
  7. 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) :

  1. Create a database name "newsagency"

  2. Table: papers

    paper **price **
    varchar-primary key float

    Java : paperMaster/paperMasterController.java

  3. Table : hawkers

    name mobile address areas aadharpic salary doj
    pk-vc vc vc vc vc int date

    Java : hawkerControl/HawkerControlController.java

  4. Table : customers

    name mobile address papers hawker curdate
    vc vc vc vc vc date

    Java : customer/CustomerController.java

  5. 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

About

License:MIT License


Languages

Language:HTML 99.9%Language:Java 0.1%Language:CSS 0.0%Language:JavaScript 0.0%