
-----------------------------------
Neo
Sun Jan 23, 2005 11:28 pm

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?

-----------------------------------
Dan
Mon Jan 24, 2005 8:21 pm


-----------------------------------
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:


char letter = 168;


now letter should be an upsidedown ?[/code]

-----------------------------------
Neo
Mon Jan 24, 2005 10:15 pm


-----------------------------------
I found a thread that shows how to use the card suit characters but it just displays a "?" mark when I try.  :?  Somebody mentions changing the font to Ariel but how would I do that? Here's the thread:

char spade = (char)0x2660;
char club = (char)0x2663;
char heart = (char)0x2665;
char diamond = (char)0x2666;


Tell me if you can get it to work.
