• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

printing component problem

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is there any body who can solve my question. or answer me
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic