The GeoShapes Java Project is a comprehensive application that demonstrates object-oriented programming (OOP) principles, simple algorithms, and graphical user interface (GUI) implementation while focusing on geometric shapes and calculations. This project provides a platform for performing various geometric calculations on shapes and visualizing the results through a user-friendly GUI.
-
Object-Oriented Design: The project employs a robust object-oriented design to model different geometric shapes as classes, making it easy to add new shapes in the future.
-
Geometric Calculations: Perform a range of geometric calculations such as area, perimeter, and more for different shapes including circles, rectangles, and triangles.
-
GUI Interface: The project features a graphical user interface built with JavaFX, providing an intuitive and interactive way to input shape parameters, view calculations, and visualize the shapes.
-
Simple Algorithms: Explore simple algorithms used in geometric calculations, enhancing your understanding of fundamental programming concepts.
Figure 1: Main GUI window with shape selection and calculation options.
Figure 2: Visualization of a polygon along with its calculated properties.
Follow these instructions to get a copy of the project up and running on your local machine.
- Java Development Kit (JDK) 8 or above
- JavaFX library
- Upon launching the application, the main GUI window will appear.
- Select a shape from the available options: Circle, Rectangle, Triangle, Segment, Polygon.
- Use your mouse to choose the size of the the shape.
- The shape will be visually displayed along with its properties.