Skip to content

YihuiAndre/Java-GUI-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java GUI Component

In this repository, it contains several java exercises with different tasks.

In exercise 1 and 2, the programs create different colors of shape compositions.

In exercise 3, the program reads a text file and computes the most frequency alphabets in the text file and displays it in terms of a pie chart.

In exercise 4, the program utilizes both JavaFX library and MySQL to create, amend, and retrieve from the student database. Then, it displays the grade percentage among all students in the database.

Usage

For each exercise, please run following commands:

Exercise 1

javac TestMyShape.java
java TestMyShape

Exercise 2

javac TestMyShape.java
java TestMyShape

Exercise 3

javac Histogram.java
java Histogram

Exercise 4

javac DatabaseConnector.java
java DatabaseConnector

*note: For all exercises, it requires to install the JavaFX library if the current java version is above 11.

**note: For exercise 4, it requires to download and install mysql jdbc driver.

Screenshots


Exercise 1


Exercise 2


Exercise 3


Exercise 4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages