Fix comment

This commit is contained in:
Anas Elgarhy 2022-06-16 05:49:26 +02:00
parent eb383d9c6f
commit 660e7767d1
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ allprojects {
public class Example1 {
public static void main(String[] args) {
ColoredString hello = new ColoredString("Hello, ");
hello.setForegroundColor(TextColor.ANSI.BLUE); // Set text color to red
hello.setForegroundColor(TextColor.ANSI.BLUE); // Set text color to blue
hello.setBackgroundColor("magenta"); // Set background color to magenta
hello.addStyle(TextStyle.BOLD); // Add bold style