This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 19674
    
  18

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
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