• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing a java GUI form

 
Keshini Weerasuriya
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. Is it possible to write a print function to print a java swing GUI form?? Or is there any way that a java swing GUI can be converted to pdf format so that it can be printed??

Tnx..
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Print API would be something to research.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is also rather simple to render the form to an Image, and save it as GIF, PNG or some other format. (Such an image could then also be put into a PDF.)

Moving to our Swing forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!