• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printing jframe content in core java

 
pravin rasal
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to print Jframe like our word document.

I have one jframe on jframe i have Jpanel ond on that panel i have j label . In jlabel i written a letter i want to print
that letter so how can I print that letter.
thank you
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Please note that you posted this in the Meaningless Drivel forum. That's our forum that's just for entertainment, and not for serious questions. I'm a moderator here so I'll move your question to a more appropriate forum.
 
Daniel Doboseru
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. If you mean real printing, why don't you export it as a PDF, and print it from there afterwards. Java has quite a cool API for writing PDF's, but haven't heard about a printing one, though it might be, so right now, this seems the best option, maybe someone will come up with something better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic