I am having problems with special characters: (♥♣♠♦) (\u2663). I am writing a card game and am converting a system.out game to a GUI game. During system.out, the symbols worked, they also worked on the GUI. But after I tried the below code, it no longer works. I wanted to enlarge the font so I applied the font to the panel. Now even when I comment it out, it doesn't show the symbols anymore. I think it was the middle parameter in Font( , 0, ) that caused this. How do I fix this?.. it just shows squares in place of those symbols.
Code:
Font newFont = new Font("name", 0, 20);
panelA.setFont(newFont);