🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: be.comp.programming
3 messages
3 total messages Started by Ben Lambrechts Wed, 17 Aug 2005 12:23
[JAVA] kleur met System.out
#1245
Author: Ben Lambrechts
Date: Wed, 17 Aug 2005 12:23
7 lines
1027 bytes
Weet iemand hoe ik gekleurde output kan doen in de Console met 
System.out.printf ?

-- 

Lithops - a program that plays the game of Go
http://lithops.sourceforge.net 
Re: [JAVA] kleur met System.out
#1246
Author: Philip Paeps
Date: Wed, 17 Aug 2005 12:44
13 lines
1327 bytes
Ben Lambrechts <lambrechts.ben@skynet.be> wrote:
> Weet iemand hoe ik gekleurde output kan doen in de Console met 
> System.out.printf ?

Gewoon ansi control codes mee outputten?

 - Philip

-- 
Philip Paeps                              Please don't email any replies
philip@paeps.cx                               I follow the newsgroup.

  Nothing is ever so bad that it can't get worse.
Re: [JAVA] kleur met System.out
#1247
Author: John Bokma
Date: Wed, 17 Aug 2005 13:20
18 lines
1572 bytes
Philip Paeps <philip+usenet@paeps.cx> wrote:

> Ben Lambrechts <lambrechts.ben@skynet.be> wrote:
>> Weet iemand hoe ik gekleurde output kan doen in de Console met 
>> System.out.printf ?
> 
> Gewoon ansi control codes mee outputten?

Werkt niet zonder meer. cmd.exe doet standaard (AFAIK) geen kleurtjes meer.

Daarnaast is er vast wel een mooie class / library die het "control codes 
outputten" wat eenvoudiger regelt dan alles zelf doen.

-- 
John Bokma
                 Voorbeeldscripts in Perl: http://johnbokma.com/perl/
Ervaren Perl / Java programmeur beschikbaar:  http://castleamber.com/
Tevreden opdrachtgevers:     http://castleamber.com/testimonials.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads