Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Cut/Paste Rich text on Mac/Safari TextArea

Thread Tools

Cut/Paste Rich text on Mac/Safari TextArea

Posts: n/a
When I Copy/Paste Rich Text into a awt TextArea it behaves differently on
Windows XP as compared to Mac.

For eg. visit the following webpage

There is a TextArea somewhere near the bottom.
Now mark some text from the webpage itself for eg.

For eg. I copied the following area from the webpage
Textfield components are useful for .....
...............textfield will generate an event.

Example source

Now I paste it in the textarea in the applet - In windows,
"Example source" appears as plain text.
Where in Mac/OSX - the text "Example source" appears
as a link, just like it is in the webpage.

How do I disable this on Mac - i.e. I want the text stripped
& pasted as plain text.

I am using Java 1.5 on both platforms
IE is IE6

Safari is 1.2 (v125)
Mac is OSX 10.3.9

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Native Rich-Textarea, what do you think? Gerrit Addiks HTML 4 01-09-2012 04:09 PM
rich:dataTable - rich:dataScroller Hollow Quincy Java 5 01-02-2012 08:59 PM
Re: Cut/Paste Rich text on Mac/Safari TextArea cpprogrammer Java 4 05-15-2006 04:10 AM
Finding the position of the cursor in a text box & Rich formated <textarea> Michael Javascript 2 02-17-2006 02:33 PM
Plain Text & Rich Text Formats Not Behaving: Thoughts On ? Robert11 Computer Support 9 11-28-2005 10:29 PM