Java Project Tutorial - How To Create a Shapes Generator Project in Java Netbeans

preview_player
Показать описание
Java Draw Random Shapes Using Netbeans

------------------ Check out my Java Projects! --------------------

if you want to support our work, consider supporting the channel with a coffee!

------------------------------------ Project Description ------------------------------------

in this java tutorial we will see how to Make a Geometric Shapes Generator Project In Java Using Netbeans.

What We Will Use To Build This Project ? :
- Java Programming Language.
- NetBeans Editor.

What We Will Do In This Project ? :
- Create an inner class called DrawingPanel that extends JPanel.
- Create a method to generate random shapes type (e.g., circle, rectangle, triangle), with random values for position, and size.
- Create a method "createRegularPolygon", to create regular polygons like pentagons and hexagons.

Java Swing And Awt Components We Will Use In This Project:
- JFrame.
- JPanel.
- Graphics2D.
- Polygon.
- Rectangle.
- Shape.
- JButton.

------------ TABLE OF CONTENT ------------

▶ 00:00 The Final Result Overview
▶ 00:30 Create The Project File / Folders
▶ 00:55 Design The Form
▶ 14:15 Create The Drawing Panel Class
▶ 15:45 Create a Function to Generate Random Shape
▶ 27:30 Create a Function to Generate a Regular Polygon

-------------------------- JAVA Tutorials -----------------------------

-------------------------------- JAVA PROJECTS --------------------------------

-----------------------------------------------------------------------------------------------

programming projects with source code:

C# And Java Programming Books

#java #project #design
Рекомендации по теме
Комментарии
Автор

Great video, question would it be possible to have predefined shapes and be able to connect those, including labels that show properties to that particular link?
This way can re-use and have multiple shapes linking like a workflow?

DinoLopez