Skip to content

ashik5757/CGPA-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CGPA-Calculator (JavaFX Application)

This is a JavaFX based CGPA calculator application.


Features

  • Semester term CGPA calculation.
  • Total CGPA calculation with previous semester result.
  • Different grade policy of diffrenet university. (Only for BD)
  • User can create a profile to save the semester wise grade sheet.
  • User can use/open any saved profile at any time.
  • User can store upto 18 semester CGPA data in a single profile.
  • Text suggestions of courses name. (Auto completion)

Tools Used :

  • Java [JDK 17]
  • Java 8
  • IntelliJ IDEA
  • SceneBuilder

Library Used :


Setup (JAR) :

  • Tools required :

    • Java [JDK 8+]

Just download the latest jar file from release tag and run it by JVM.


Setup (IDE) :

  • Tools required :

    • Java [JDK 17] or Latest
    • IntelliJ IDEA

  • Download :

    • JavaFX (sdk-17 or Latest)
    • ControlFX (controlsfx-11.1.0 or Latest)
    • Library mentioned avobe.

All Librabry files are available in Library-Repo folder. It's better to download from this repo to run the code properly.

FontAwesomeFX 9 - Download SearchBar and Zip file or all the individual file.
ControlFX v11.1.0 - Dowmload controlsfx-11.1.0.jar.
JFoenix 9.0.10 - Dowmload jfoenix-9.0.10.jar


  • Process :

    • Download the zip file of code and extract.
    • Open it with IntelliJ IDE.
    • Update the project sdk and language level(default) in project structure.
    • Attach lib folder directory of javafx-sdk to Libraries in project structure.
    • Attach FontAwesomeFX 9 , JFoenix and ControlFX jar file in module dependency in project structure.
    • Now run the FakeLauncher.java or LaunchApp.java.

If the program does not run and shows an error like following line, then update the VM option in run configuration.

Error: JavaFX runtime components are missing, and are required to run this application

Go to the Run -> Edit Configurations... of FakeLauncher.java and LaunchApp.java and paste the following line in Add VM option from Modify option.

--module-path
"F:\Download\Soft\Java\JavaFx\javafx-sdk-16\lib"
--add-modules
javafx.controls,javafx.fxml
--add-exports
javafx.base/com.sun.javafx.event=ALL-UNNAMED

NOTE : Must change the directory path for javafx-sdk-16\lib.


It is better to add VM option in run config to omit unnecessary error :

WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @4b7d8551'

Screenshot of Functionalities :


  • Semester CGPA :


  • Total CGPA :


  • Create a New Profile :


  • Saved Profile :

Saved Profile panel - where user can open any saved profile.


Homepage of a Saved Profile - where user can calculate the CGPA and also ad to profile


Calculate panel of Semester CGPA of saved profile


Calculate panel of Total CGPA of saved profile


After adding the calculated CGPA to the profile


Details information of a saved semester CGPA