In this project, a simple GUI is built in Java. Abstract Windowing Toolkit (AWT) and Swing Toolkits are used.
1. Java JDK should be installed in your PC.
2. A code editor to write the java code. Here are 2 great editors for java: Visual Studio Code and Eclipse.
In this project, a simple GUI with two buttons and some text are displayed. Count is displayed which either increments or decrements according to the button which is being clicked by the user.
You can change the size of the frame, the grid layout property, the border size and color. You can add more buttons or functions to your GUI. Read the comments written in the code to easily change the design and make the GUI personalized.
Submitted by Rasika Deshpande (RasikaDeshpande24)
Download packets of source code on Coders Packet
Comments