Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How to enlarge the String Graphics.drawString()

roymakaayFeb 14 2013 — edited Feb 14 2013
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.
This post has been answered by Kayaman on Feb 14 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2013
Added on Feb 14 2013
1 comment
1,296 views