It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes cut & paste objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "cut & paste objects" Watch "cut & paste objects" New topic
Author

cut & paste objects

Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hi,
Is there any limitation concerning the type of the objects that can be transferred through cut & paste?
I want to transfer a copy of an object from a JComponent to another JComponent.
BR,
Cristian
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
Hi,
Look at the drag and drop section of the Java Tutorial.
[ January 29, 2004: Message edited by: Jose Botella ]

SCJP2. Please Indent your code using UBB Code
Cristian Negresco
Ranch Hand

Joined: Sep 15, 2001
Posts: 182
Hi,
Actually I couldn't use drag and drop. I want to transfer an object from a Java application running inside a ICA Client to a Java application started on the local machine. My knowledge is that drag and drop won't work but there is support for cut and paste (of just text?).
I thought that I could use that to cut and paste objects.
BR,
Cristian
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cut & paste objects