This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Font" Watch "Java Font" New topic
Author

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
 
Consider Paul's rocket mass heater.
 
subject: Java Font
 
Similar Threads
test tomarrow need help from SCJPs
THIS IS GREEN
28th Nov Riddle
Have the power to become invisible, to mind-read, or to fly?
Exception