This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Best swing component to use for print Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Best swing component to use for print" Watch "Best swing component to use for print" New topic
Author

Best swing component to use for print

Sidhu roy
Greenhorn

Joined: Aug 11, 2011
Posts: 15
Hi,
i want to know which is the best swing component where i can add images and some text and then print. please help me
thanks in advance...
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20131
    
  30

My guess would be a JEditorPane or JTextPane. Check out http://docs.oracle.com/javase/tutorial/uiswing/components/text.html.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best swing component to use for print
 
It's not a secret anymore!