• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help on Changing font.

 
Ranch Hand
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All


I am working on a swing application ,in which i proceed
as below

1)Get user input into a table in database using sql .
2)now i am writing this data from database to text file.
but while writing this data i want to change the font
of text i tried using



now i am confused on how i should change
font before writing to text file so that in text file i will
get a formatted data from database.

for writing i have used method



how can i overcome this problem ?any idea it will
be of great help.....

Thanks in advance.

Dhwani:>Winning is not important but it is the only thing.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't quite make out what you're trying to do. You're retrieving data from a DB, and want to write that data to a file in a specific font size? What kind of format is that file in? Plain text files don't have a font size. And what does Swing have to do with it? Are you displaying the data as well?

Please elaborate on what you're trying to do.
[ April 03, 2008: Message edited by: Ulf Dittmer ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic