This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 31st, when you will be able to use this site as normal.

    Forum Stats

  • 3,890,498 Users
  • 2,269,776 Discussions
  • 7,916,824 Comments

Discussions

How to enlarge the String Graphics.drawString()

roymakaay
roymakaay Member Posts: 246
edited Feb 14, 2013 5:31AM in Abstract Window Toolkit (AWT)
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.

Best Answer

Answers

This discussion has been closed.