Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

insert image in JTextPane  RSS feed

 
raja ramesh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can create a chat application in java , i want to send some text like in input Area(JTextPane) and press send button,the corresponding image displayed in output area(JTextPane),please answer me ....

Thanks in advance ..

raja ...
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something tells me that JTextPane's own insertIcon(Icon g) method will be part of the solution.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!