• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Have any good idea to put image on TextArea ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?

 
Rancher
Posts: 387
30
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic