I have this font constructor written to make the font I want BOLD, however whenever I try to compile, it tells me the error Cannot find symbol - variable BOLD
.
Font font = new Font("Arial",font.BOLD, 40);
These are the classes I'm importing:
import greenfoot.*;
import java.util.*;
import greenfoot.Font;
import java.lang.Class;
If anyone knows the probably quick fix it'd be much appreciated.