Duncan Roe wrote:
[snip-stuff about changing Zara's paste method...]
>
> Not for me! I don't see data from the system clipboard, even after making the
> above change. And with the 2 lines I changed earlier, it still copies and pastes
> data that is highlighted in the app.
>
Hi Duncan-
Whoops! I see what's happening. You have to highlight some non-Java
material, say, in Netscape mail, _then_ use Netscape "copy". Then the
stuff goes onto the system clipboard, whence it comes off into Zara's
amended application on hitting paste button...
I think my mistake in a prior e-mail is due to the fact that I did this
copy a while back in my editing, and that stuff then stayed on the
clipboard. So, I was wrong, it is not enough to just highlight some new
material to put it on the system clipboard.
The essence of what I am saying, discovered by working with a Ch. 6 Core
Java data transfer example, is that in Windoze, apparently (haven't
really tried it, but assume Core Java authors have), stuff goes on and
off the system clipboard as it is specified mime-wise, tho you can only
essentially transfer strings at this point in time. (The Core Java
example base64 encodes an image as a string, then transfers it via the
system clipboard.)
But in X, if you put something _on_ the system clipboard with your own
mime type, it always comes _off_ as an X11Selection.
Now is that absolutely clear? What did I say, anyhow? ;-)
Bob L.
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/