https://github.com/msh-trojan/java_21_border_layout_demo_1
A graphical java frame that has buttons in different border sides that when each is clicked, will disappear.
https://github.com/msh-trojan/java_21_border_layout_demo_1
border-layout graphic gui-components java jbutton jframe
Last synced: about 1 year ago
JSON representation
A graphical java frame that has buttons in different border sides that when each is clicked, will disappear.
- Host: GitHub
- URL: https://github.com/msh-trojan/java_21_border_layout_demo_1
- Owner: MSH-trojan
- Created: 2024-09-10T22:12:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-14T03:49:34.000Z (over 1 year ago)
- Last Synced: 2024-09-14T16:29:47.405Z (over 1 year ago)
- Topics: border-layout, graphic, gui-components, java, jbutton, jframe
- Language: Java
- Homepage:
- Size: 7.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java_21_Border_Layout_Demo_1
## Overview:
1 - The program basically has different buttons and their names in an array of strings.
2 - then, for the buttons, we produce them as their names attached on them based on their array element position.
3 - the we use the container that has been added before, and to that container, we add different butttons.
4 - for the added buttons, we define a attribute called *BorderLayout* and put its value as *NORTH, SOUTH, EAST, WEST, CENTER*.
Then, there you will have it by making the application up within the Main class.