• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Have any good idea to put image on TextArea ?

 
chester lin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writer one software , The software function like msn messenger to chat you and your friend , about can send word and send file , now i want to put image on TextArea and can send to friend dialog, the image like msn face symbol , but no any good idea to solve this problem, have someone to help me??

thanks
 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use a WebView instead of a TextArea. The WebEngine's HTML support includes support for the IMG tag.

edit: or a HTMLEditor
 
Ken Kestner
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:You could use a WebView instead of a TextArea. The WebEngine's HTML support includes support for the IMG tag.

edit: or a HTMLEditor


Do you have any links to examples where the WebView is made editable or for adding an image to an HTMLEditor?

Also, in the application I'm writing, I'd like to be able to save the content, including the image to a database. I'll also
need some way to decode the image when retrieving from the db. Is this possible?

 
John Damien Smith
Ranch Hand
Posts: 296
14
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have any links to examples where the WebView is made editable or for adding an image to an HTMLEditor?

Here is an answer reproduced from another forum post (with an image added) =>
https://forums.oracle.com/forums/thread.jspa?threadID=2382360 "Making HtmlEditor ReadOnly"

For your other questions I'll let you work that out yourself for now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic