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

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.

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.