Results 1 to 3 of 3

Thread: Color in JAVA

  1. #1
    Join Date
    Oct 2004

    Color in JAVA

    Howdy all. I was wondering if anyone could give me some code or tips or a tutorial somewhere on how to make the text in my output screen colored... Khalid, perhaps you could throw some knowledge my way? My program is in the Main class, and im willing to import something. Thanks.

  2. #2
    Join Date
    Dec 2002
    Calgary, Canada
    if you intend to color the output in the dos window using System.out()
    I seriously doubt that you can do it. However if you want to set colors of fonts, background or borders, yes that you can easily do using some pre packaged classes in javax.swing and java.awt packages.
    I hope this helps a bit


    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Oct 2004
    ok thanks alot, that was confusing me for a while :-)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center