Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding Fonts in JBuilder3.5

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0


While using JBuilder I came across the fact that there are only five fonts supported :Dialog,SansSerif,Serif,Monospaced and DialogInput.

I need to have font as :Times New Roman,Garamond,etc. How can I add these fonts in addition of the default fonts of JBuilder ?

ThanX in advance

Amit.
 
Hi there. I'm not speaking from experience, however, I looked fonts up in my JBuilder book. According to SAMS Teach Yourself JBuilder the fonts you have available to you in your applets depend on which fonts are installed on the system where your applet is running. You can use the getFontList() method, defined in the java.awt,Toolkit class to get a listing of the current fonts available on the client system. Don't forget to import java.awt.Toolkit if use getFontList. I hope this isn't information you already knew about.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top