This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 20080
    
  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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Best swing component to use for print
 
It's not a secret anymore!