int label_x = (WIDTH / 2);
int label_y = (HEIGHT / 2);
GLabel label = newGLabel("0");
add(window, label);
setLocation(label, label_x, label_y );
return label;
In this way of initilizing scoreboard ,it seems like it is not centered in the window. Any ideas? (I changed default window height to 500 by the way)