Skip to content

A program showing The usage of Radio Button as we can check different font types.

Notifications You must be signed in to change notification settings

MSH-trojan/Java_21_Radio_Button_Test_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A program showing The usage of Radio Button as we can check different font types.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages