Original Post
How would I go about outlining text in my game? I've tried but it doesn't seem to result in a perfect outline. Any help?
g.setColor(Color.Black);
g.drawString("test", x - 1, y + 1);
g.drawString("test", x - 1, y - 1);
g.drawString("test", x + 1, y + 1);
g.drawString("test", x + 1, y - 1);
g.setColor(Color.yellow);
g.drawString("test", x, y);