Skip to content

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.

Notifications You must be signed in to change notification settings

MSH-trojan/Java_21_Check_Box_Test_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages