🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #825

color

#825
From: Adrian Duffell
Date: Tue, 02 May 2000 00:00
12 lines
974 bytes
hi, wondering if you could help me change the text color in normal
console/dos type applications.

for example if i did this for the heading of my program

System.out.println("Welcome to my program");

how could i get it to print in say green?
and how can i clear the screen?

thanks in advance, adrian
ady@flashmail.com
Technical Details
Message-ID: <nvuP4.157$v91.6049@nsw.nnrp.telstra.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,e171fde9b3e728ae,start
X-Google-Attributes: gid10d6db,public
From: "Adrian Duffell" <ady@flashmail.com>
Subject: color
Date: 2000/05/02
Message-ID: <nvuP4.157$v91.6049@nsw.nnrp.telstra.net>
X-Deja-AN: 618152307
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 957248595 203.43.147.240 (Tue, 02 May 2000 16:23:15 EST)
Organization: Customer of Telstra Big Pond Direct
X-MSMail-Priority: Normal
NNTP-Posting-Date: Tue, 02 May 2000 16:23:15 EST
Newsgroups: aus.computers.java