Hello there!
I was trying to set a font to my text on Greenfoot like
and it shows an error like
1 | txt.setFont( new Font( "Helvetica" , Font.PLAIN, 12 )); |
Incompatible types: java.awt.Font cannot be converted into greenfoot.Font
what am I doing wrong here. Thank you for your answer in advance!