https://github.com/msh-trojan/java_21_radio_button_test_1
A program showing The usage of Radio Button as we can check different font types.
https://github.com/msh-trojan/java_21_radio_button_test_1
fonts graphics gui-components java jframe radio-buttons
Last synced: about 2 months ago
JSON representation
A program showing The usage of Radio Button as we can check different font types.
- Host: GitHub
- URL: https://github.com/msh-trojan/java_21_radio_button_test_1
- Owner: MSH-trojan
- Created: 2024-08-24T19:12:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T21:11:16.000Z (almost 2 years ago)
- Last Synced: 2025-03-23T18:49:58.128Z (about 1 year ago)
- Topics: fonts, graphics, gui-components, java, jframe, radio-buttons
- Language: Java
- Homepage:
- Size: 7.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java_21_Radio_Button_Test_1
This Java program demonstrates the use of radio buttons (JRadioButton) and button groups (ButtonGroup) in a graphical user interface (GUI) using Swing.
The program allows the user to select different font styles (Plain, Bold, Italic, and Bold/Italic) for a text field (JTextField).
When the user clicks a radio button, the text field's font changes accordingly.
## Features:
Four font style options: Plain, Bold, Italic, and Bold/Italic.
Updates the text field in real-time based on the selected radio button.
Uses Swing components for GUI elements.