Computer Science Canada Special Characters and Clear Screen |
Author: | Neo [ Sun Jan 23, 2005 11:28 pm ] |
Post subject: | Special Characters and Clear Screen |
How would I use the "symbol" font in Java? If you don't know what I mean, open up word and click insert->symbol->then select symbols from the drop down menu. I want to use the spade,heart,clubs and diamond characters. And also how would I clear the main screen? |
Author: | Dan [ Mon Jan 24, 2005 8:21 pm ] | ||
Post subject: | |||
Well there are two ways i could see u doing this, if it is a standted ASCII char then u could probly just copy and past it in to your code or you could make a char varbible and give it the ASCII value of the char u whont. Ex:
now letter should be an upsidedown ?[/code] |
Author: | Neo [ Mon Jan 24, 2005 10:15 pm ] | ||
Post subject: | |||
I found a thread that shows how to use the card suit characters but it just displays a "?" mark when I try. ![]() http://forum.java.sun.com/thread.jspa?threadID=579374&messageID=2926503 This is the code for the suits if your too lazy to look at that thread:
Tell me if you can get it to work. |