my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 19651
    
  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
 
Similar Threads
Printing in servlets?
Best Swing Component For Icons
Should I design a front controller for swing component?
How to print inside Swing
print the entire swing screen