Article View: aus.computers.java
Article #826Re: color
From: Mad Dog
Date: Tue, 02 May 2000 00:00
Date: Tue, 02 May 2000 00:00
37 lines
1740 bytes
1740 bytes
Adrian Duffell wrote:
> 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
To the best of my knowledge, java is very limited in what can be done at
command prompt.so in short, i believe it's impossible to do so. please
prove me wrong, and email me if i am. 8-)
here is the JAVA API
http://java.sun.com/products/jdk/1.2/docs/api/index.html
--
|\
____|@\
____/0 \
/ \
<----- \
\______ \
\=#=#=#=#=\_____________________________
| |\
| Final year Bach Applied Science (CS)|\\
| RMIT University Bundoora | \\
\ mail to: maddog100@rocketmail.com | \\
\_____________________________________| \)
Technical Details
Message-ID:
<390E7E78.53B9C4BE@rocketmail.com.SPAMGUARD>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<nvuP4.157$v91.6049@nsw.nnrp.telstra.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,e171fde9b3e728ae X-Google-Attributes: gid10d6db,public From: Mad Dog <maddog100@rocketmail.com.SPAMGUARD> Subject: Re: color Date: 2000/05/02 Message-ID: <390E7E78.53B9C4BE@rocketmail.com.SPAMGUARD> X-Deja-AN: 618159380 Content-Transfer-Encoding: 7bit References: <nvuP4.157$v91.6049@nsw.nnrp.telstra.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: newsfeeds.bigpond.com 957250206 139.134.73.140 (Tue, 02 May 2000 16:50:06 EST) Organization: RMIT MIME-Version: 1.0 NNTP-Posting-Date: Tue, 02 May 2000 16:50:06 EST Newsgroups: aus.computers.java