B
bob
Is there any way to get a BufferedImage that contains what has been
drawn on a Graphics2D object?
Basically, I'd like to create a JTextArea with some text in it and get
an image of the text. That way I can do some neat filtering on the
text without worrying about word wrapping, which I would have to worry
about if I used the Graphics2D drawString method.
drawn on a Graphics2D object?
Basically, I'd like to create a JTextArea with some text in it and get
an image of the text. That way I can do some neat filtering on the
text without worrying about word wrapping, which I would have to worry
about if I used the Graphics2D drawString method.