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

Username:   Password: 
 RegisterRegister   
 System.out.print color?
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic
Author Message
vtrickzv




PostPosted: Tue Dec 26, 2006 5:45 pm   Post subject: System.out.print color?

Is their any way to change the colour of the text displayed with the System.out.print command?
Thanks for any help Smile
 
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Tue Dec 26, 2006 8:16 pm   Post subject: (No subject)

It would depend on the console you're outputting to, which means it basically depends on the operating system. In that case, color codes can be embedded in the text output. It remains plain text, but these special characters are interpreted by the shell/console to change colors.
 
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh pageAdd this topic to your bookmarks (CTRL-D) View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: