An open API service indexing awesome lists of open source software.

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.

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.