Posted By:
Jill_Jones
Posted On:
Tuesday, April 9, 2002 12:35 AM
I created cut and append menu items. I successfully used cut() for the cutItem. The appendItem should add the text previously cut to the end of text in a textArea. Just like cut and paste, but cut and append instead. Using paste() is not sufficient.
I found a getContents() method which returns an object that represents the clipboard contents. I also found an append() method which takes a String. I tried to cast the object to a String, but I am a novice and cannot make it work. Is this the way to do it? If so, please show me an example. If not, how do I get this done? Thanks in advance : )