This discussion is archived
1 Reply Latest reply: Feb 14, 2013 2:31 AM by Kayaman RSS

How to enlarge the String   Graphics.drawString()

616286 Newbie
Currently Being Moderated
Hi
I am sorry if my question is stupid.
I have this Method

public void paint(Graphics g)
{

String s = " Java is interesting";
g.drawString( s ,40,50, 0);

}


How to enlarge the font of String s.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points