Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 changing colour of text in java
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
apomb




PostPosted: Wed Jan 21, 2004 9:02 pm   Post subject: changing colour of text in java

Im making a movie rental program and i want to change the text colour... just need the signature...plz
Sponsor
Sponsor
Sponsor
sponsor
BlAcK TuRtLe




PostPosted: Wed Jan 21, 2004 9:48 pm   Post subject: (No subject)

sure thing pomby. It's c(or whatever ur console is).setTextColor(Color.the color u want.
For example
code:

a.setTextColor(Color.blue);

also at the top of the program u need to put
code:

import hsa.*;
apomb




PostPosted: Thu Jan 22, 2004 5:04 pm   Post subject: reply

Thx man... as you know i handed it in today but didn't get to use it. but ill remember that!
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: