• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing on JTextArea  RSS feed

 
Jan Michael Soan
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello;
I dont really know how to print on JTextArea, is there anyway I could print in the printer the contents of JTextArea.
I really need some codes on how to print it in the printer, the easier way.
For example :
JTextArea a1 = new JTextArea(" Hello World ! ");
>> Hello World, is what I wanted to print on the printer by just using JTextArea.
Pls. Help, Urgent . . .
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!