I'm a little confused on how to change the color of my scoreboard. I realize how to change the font color, but the actual color of the rectangle is very confusing to change. Can someone help me?
private void makeImage(String title, String prefix, int score)
{
GreenfootImage image = new GreenfootImage(WIDTH, HEIGHT);
image.setColor(new Color(255,255,255, 128));
image.fillRect(0, 0, WIDTH, HEIGHT);
image.setColor(new Color(0, 0, 0, 128));
image.fillRect(5, 5, WIDTH-10, HEIGHT-10);
Font font = image.getFont();
font = font.deriveFont(FONT_SIZE);
image.setFont(font);
image.setColor(Color.YELLOW);
image.drawString(title, 90, 100);
image.drawString(prefix + score, 25, 200);
setImage(image);
}

