Text input/output consoles exist in most or all operating systems. Certain concepts (write some text, read some text, new-line etc.) are common to all of them. But more-advanced concept (fonts, colours, clear-screen etc.) are not available in all of them.
Java, being platform-independent (ish), takes a "lowest common denominator" approach, and only assumes that the console has features that all operating systems support. That means, no fonts, colours, clear-screen etc.
However, many operating systems' consoles understand control codes that will do things like change colour or clear the screen. If your application only needs to run on one operating system, you could find out what these are, for your particular console, and code them in Java.
Note that, in some operating systems (e.g. Unix), there are lots of different possible kinds of console, which would understand different control codes. In that situation, using control codes would restrict your application to a particular type of console (e.g. VT100 terminal) and a particular operating system.
Not good, but nevertheless, the possibility does exist.
Quite a lot of terminals understand
ANSI escape codes.