Skip to content

An application to visualize the execution of some sorting algorithms using JavaFX

Notifications You must be signed in to change notification settings

Din19062004/Sorting-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple application to visualize 3 sorting algorithms: insertion sort, bubble sort and quick sort

Description

This is a project that simulates the operation of three basic sorting algorithms: insertion sort, bubble sort, and quick sort. The project is implemented using the Java programming language and the interface is built with JavaFX technology, supported by Scene Builder 😃

Clone the repository

git clone https://github.com/Din19062004/Sorting-Algorithm.git

Requirements

These are my reference points:

  • Java SE version 21 or higher (You can use any IDE you prefer; for me, I use Eclipse).
  • JavaFX version 21.0.5 (You can download it at the following link: https://gluonhq.com/products/javafx/. ⚠️ Please choose the version compatible with your operating system).
  • Scene Builder version 23.0.1 (You can download it at the following link: https://gluonhq.com/products/scene-builder/. ⚠️ Please choose the version compatible with your operating system).

These depend on your choice. For me, these three options are suitable (they did't cause "Version incompatibility error in Java" when you execute the program). If you are using the Eclipse IDE, you can refer to the following link for detailed installation instructions.

How does it work?

You can open the folder named design to see the use case diagram and class diagram.

  • The use case diagram shows the interaction between user and my application.
  • The class diagram shows the basic design and the relationships between all the classes. The general class diagram only contains classes's name and their relationships. The detail class diagram contains all classes's attributes and behavious.

For more detail, you can open the folder named report to read the problem statement and operation description.

Demo video

Insertion sort

Insertion sort demo

Bubble sort

Quick sort

About

An application to visualize the execution of some sorting algorithms using JavaFX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages