Re: formatted printing of text- color
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 22:39:17 GMT
"babo" <moron68@xxxxxxxxxxx> wrote in message
news:1133303338.159155.299140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I don't know how to use println with diferent color of text from
> default and to print ascii of card signes, like hearts, spike, etc...
>
>
> like: System.out.println("This text is RED, and this is BLUE")
>
>
> Thnx
Colors are terminal specific (and thus OS specific (and thus probably
you won't find direct support for that within Java)). Try looking up ANSI as
a starting point.
For the card suits and things like that, you can probably find
appropriate symbols in Unicode, which Java fully supports.
- Oliver
.
- References:
- formatted printing of text- color
- From: babo
- formatted printing of text- color
- Prev by Date: formatted printing of text- color
- Next by Date: Java NIO disconnects unnoticed?
- Previous by thread: formatted printing of text- color
- Next by thread: Re: formatted printing of text- color
- Index(es):
Relevant Pages
|