• Post Reply Bookmark Topic Watch Topic
  • New Topic

printing component problem  RSS feed

 
Kapil Keskar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am having problem with printing component, swing.
I am retrieving some fields in JPanel at runtime from database. & showing it in JPanel having JScrollpane.
I GOT PROBLEM IN FOLLOWING AREAS
1) I want to print the contents on a panel without considering height & width but it should print the original width & height of component.(which is in 2 pages).
2) Also can pagebreak can be given in coding or while printing?
3) Is it possible to print through java without making graphical image of the component using graphical Object.
4) or how to pass my component object to
Graphics2d g2d=(Graphics2d)g;
g varible.
can anybody help me out
 
Kapil Keskar
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any body who can solve my question. or answer me
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!