How to make the font size bigger in g.drawString(\"Hello World\",10,10); ?
g.drawString(\"Hello World\",10,10);
code example below:
g.setFont(new Font("TimesRoman", Font.PLAIN, 30)); g.drawString("Welcome to the Java Applet", 20 , 20);