This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Images" Watch "Images" New topic


Richard West
Ranch Hand

Joined: Jan 07, 2005
Posts: 127
Hi everyone,

I have a bit of a problem converting a JTextPane to an image.
I am able to convert the JTextPane to a PNG image but its quality is really bad. Is there a way that i can convert my JTextPane to a high quality image.

The type of image format does not matter

Here is what i have so far

I hope someone can help with this problem

Any help is greatly appreciated

Thank You

Yours Sincerely

Richard West
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Consider Paul's rocket mass heater.
subject: Images
Similar Threads
How can I reduce the image size of a PNG file
Copying JComponent into an Image
Creating a image file using TextLayout. Need to find right startYpoint
Java Mail with attached Image
BufferedImage questions.