swing - Are there any built-in methods in Java to increase Font size? -


Does any inherent methods in Java increase the font size?

The class allows you to specify the font size.

So, to do a font, you do something like this:

  font f = new font ("serif", font.plline, fontSize);  

fontSize parameter will determine the size of your font .

The best way to actually get the same effect on the size of an existing font object is to create a new almost identical deriveFont (size) method to use < Code> font it has a different shape.

  font big font = existing font. Default font (large number);  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -