Är väl beroende på hur du visar upp tecknena. Swing? Awt? System.out? Swt?
En början vore väl iaf att lägga in informationen för varje enum, typ:
Kod:
public enum kortfarg
{
KLÖVER('\u2663', 0x000000), RUTER('\u2666', 0xFF0000), HJÄRTER('\u2665', 0x000000), SPADER('\u2660', 0xFF0000);
public final char symbol;
public final int color;
kortfarg( char c, int co)
{
symbol = c;
color = co;
}
}