File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Java Font Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Font" Watch "Java Font" New topic

Java Font

Kingsley Mullers
Ranch Hand

Joined: Jan 14, 2005
Posts: 48
Hi, how can i print output or just one line of text so that it appears in a different font style e.g Arial font
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Where are you writing your output? There's no Java support for doing anything like that to the console, but in AWT or Swing you can control the fonts you use. Share a bit of code that generates output and we'll see if we can point you toward something good.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: Java Font
It's not a secret anymore!