/Java_21_Check_Box_Test_1

This program is a simple example of how to use Swing components in Java to create interactive GUI applications. It highlights event handling with "JCheckBox" to modify text formatting in real-time.

Primary LanguageJava

Java_21_Check_Box_Test_1

Overview

This Java program demonstrates the use of JCheckBox components to change the font style of a JTextField between bold and italic.

Features:

Text Field: Displays sample text.

CheckBoxes: Toggle bold and italic font styles.

Usage:

Compile with javac CheckBoxTest.java.

Run with java CheckBoxTest.

Use the checkboxes to change the text style.