How can I display images in an TextArea?

John Zukowski

AWT TextArea components only support displaying text. You cannot display images in them. If you don't mind using the Swing components, you can use either the JEditorPane or JTextPane to display images within text components.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.