This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to give print from SWING by clicking a button  RSS feed

 
Venkatachalam Palanisamy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
In swing page, i have one JTable. In that talbe has some rows and columns. Now i want print this page by simply clicking a JButton.
Kindly give the solutions for this.
Thanks and Regards,
venkatachalam v p
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Venkatachalam,
Start here for some ideas.
http://java.sun.com/products/java-media/2D/forDevelopers/sdk12print.html
Regards,
Manfred.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!