• Post Reply Bookmark Topic Watch Topic
  • New Topic

how do I adjust fonts and text size?

 
Phyllis Ecker
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really need some help. This is driving me crazy. Some one can help me I would be so happy,thanks Miste
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Phyllis,

Welcome to JavaRanch!

Adjust fonts in an applet? Use the Graphics.setFont() method to set the font for drawing onto an applet's surface, passing in a Font object. Some other individual AWT components have their own setFont() methods.

Does that help?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!