| g.setColor(Color.BLACK);
g.drawRect(x, y, CASE_SIZE, CASE_SIZE);
// Draw occupied case
if (letter != null) {
letter.render(g, x, y);
// Color selected letter
if (i == selected) {
g.setColor(SELECTED_CASE_COLOR);
g.fillRect(x, y, CASE_SIZE, CASE_SIZE);
|