File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Icon in JTextArea

 
Sachin dev
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
Is it possible to insert or paint an Icon in JTextArea and whenever needed ,it should be removed,I also want editable text inside my JTextArea.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think so. Not with a JTextArea.
You could use a JEditorPane or JTextPane probably though. Since it will accept HTML. And it is still Editable.
 
Sachin dev
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx ,Mr/Ms Gregg Bolinger
Could u please reply with more details(icon in JTextPane or JEditorPane) ,if possible with a example
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic