wood burning stoves 2.0*
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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 19725
    
  20

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
 
 
subject: Best swing component to use for print