mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
Fix thr sample code
This commit is contained in:
parent
6d6b76457c
commit
139f951ebf
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@
|
||||||
### Usage:
|
### Usage:
|
||||||
```java
|
```java
|
||||||
ConsoleManager manager = new DefaultConsoleManager(); // Create a new console manager
|
ConsoleManager manager = new DefaultConsoleManager(); // Create a new console manager
|
||||||
manager.setTextColor(Color.RED); // Set text color
|
manager.setTextColor(TextColor.LIGHT_RED); // Set text color
|
||||||
manager.setBackgroundColor(Color.BLUE); // Set background color
|
manager.setBackgroundColor(BackgroundColor.DARK_BLUE); // Set background color
|
||||||
|
|
||||||
manager.println("Hello World!"); // Print text
|
manager.println("Hello World!"); // Print text
|
||||||
```
|
```
|
Loading…
Reference in a new issue