File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Swing / AWT / SWT
changing font style and size
Joined: Feb 06, 2006
Mar 08, 2006 08:49:00
I'm creating a
GUI application with labels and textboxes etc, but how do i change the font style and size, eg: change it to times new roman, size 12, bold???
Joined: Jan 14, 2004
Mar 08, 2006 19:57:00
each have access to the
method that you can use. Or you could use
and alter the style and size of the returned font with the
method. See Font class api for details.
I agree. Here's the link:
subject: changing font style and size
change the button font
Using CSS float for positioning page elements
Changing font size in javafx.scene.control.ChoiceBox
MenuItem font setting
How to change font of String?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015