• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Have any good idea to put image on TextArea ?

 
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
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • 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
 
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?

 
Rancher
Posts: 387
30
  • 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.
 
knowledge is the difference between drudgery and strategic action -- tiny ad
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!