textarea

i want to put text and image in the textarea i know its not possible
can someone please give me the alternative
LVL 1
omashhourAsked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
jeditorPane.setContentType("text/html");
0
 
jimmackCommented:
I knew I'd seen something like this recently ;-)

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20675470.html

Perhaps you will close the question when you're done ;-)
0
 
CEHJCommented:
You could do easily in a JEditorPanel. Set the content type to text/html and use markup.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
jimmackCommented:
If you use a JEditorPanel, make sure to accept CEHJ's comment.  His was the one I was referring to ;-)
0
 
omashhourAuthor Commented:
ill accept ur question CEHJ
but can u please tell me first how to set the content type??
0
 
girionisCommented:
 You can put images in a text area. Just look at the Stylepad example under the examples folder of your jdk installation.
0
All Courses

From novice to tech pro — start learning today.