July 29, 20232 yr when putting text up on the screen, do we have any control of how it looks? Sometimes it appears green and bold, sometimes white and thin. Seems almost random?
July 30, 20232 yr You can change the color using setColor(Color) and set the font using setFont(Font). There's a few more things you can change, but have a look through the docs yourself: https://docs.oracle.com/javase%2F7%2Fdocs%2Fapi%2F%2F/java/awt/Graphics2D.html
Create an account or sign in to comment