https://github.com/toxic-whitelgnd/learning-java-swing
Learning java-swing
https://github.com/toxic-whitelgnd/learning-java-swing
gui software-development swing-gui ui
Last synced: about 1 month ago
JSON representation
Learning java-swing
- Host: GitHub
- URL: https://github.com/toxic-whitelgnd/learning-java-swing
- Owner: Toxic-Whitelgnd
- Created: 2023-01-29T18:40:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-31T17:02:40.000Z (over 3 years ago)
- Last Synced: 2025-08-01T05:37:59.702Z (11 months ago)
- Topics: gui, software-development, swing-gui, ui
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### JAVA SWING
## JFrame
> a gui window to add component to
> OTHER I METIONED IN THE mYFRMAE CLASS CHECK THERE
## JLabel
> a gui display area for a string of text, an image, or both
> check in Label folder/label.java for more
## Panels
> GUI component that functions as a conatainer to hold other components
> check in Panels folder/Panels.java for more
## JButton
> a gui button is used to navigate or will do some action
> check in button folder/Button.js for more information
## Layout manager
> `BorderLayoutManager`
> `Flow LayoutManager`
> `GridLayoutManager`
## BorderLayout
> refer in https://www.youtube.com/watch?v=Kmgo00avvEw&t=4045s
> A border layout places the component in the five area NORTH,EAST,WEST,SOUTH
> ALL EXTRA SPACE IS PLACED IN THE CENTER
## FLow layout
> places component in a row with a prefered size
> if no space is porovided then the it will take next row
## GridLayout
> places the component in a grid of cells
> each component takes all the available space within its cell and each cell is the same size.
## JLayerdPane
> provides a third dimesion for positioning the components
> ex depth,z-index
## Open New Window
> refer the newwindow folder
> we will be using this for login and newuser creation or like start the procees something!
## JOptionPane
> it like you have successfully logged in like that popup messgae!
> pop up standard dialog box
## JTextField
> a gui textbox component that can be used to add,set or get text.
## JCheckBoxes
> a gui checkbox component that can be selected or deselected..
## JRadioButton
> one or more buttons in a grp in which only one may be selected per grp
> like multiple choise option
## JComboBox
> a component that can be used to combine a button or editable field and dropdown list.
## JSlider
> gui component that lets user enter a value by using an adjustable sliding knob on a track
## JProgressBar
> visual aid to let the user know that an operation is processing.
## JMenuBar
> A menubar is used to choos e the menu
## JFileMenu
> A gui mechanisim that lets the user to choose the file
## JColorChooser
> A gui mechanisim to choose the color that wish by the user
## KeyEvents
> used to get the key with that we can do the required action
> `keyTyped`
> `keyPressed`
> `keyReleased`
## MouseEvents
> used to play with the mouse moving events
> `mouseMoved`
> `mouseClicked`
> `mouseEntered`
> `mouseExited`
> `mousePressed`