NOTA: La traducción de esta documentación es un esfuerzo personal y voluntario, no es un documento oficial de Sun Microsystems ni Oracle ni está patrocinado por ninguna de estas empresas. Los documentos originales (en inglés) están disponibles en: http://java.sun.com/docs/books/tutorial/.
Dirija cualquier comentario, petición, felicitación, etc. a tutorialesjava_@RROBA_codexion.com.
Si desea ayudar a mantener en funcionamiento esta web, colaborar con la traducción de estos documentos o necesita que se traduzca algĂșn capĂ­tulo en concreto puede realizar una donación directa mediante Paypal:
Adding Cut, Copy and Paste (CCP) (The Java™ Tutorials > Creating a GUI with JFC/Swing > Drag and Drop and Data Transfer)
Trail: Creating a GUI with JFC/Swing
Lesson: Drag and Drop and Data Transfer
Adding Cut, Copy and Paste (CCP)
Home Page > Creating a GUI with JFC/Swing > Drag and Drop and Data Transfer
Adding Cut, Copy and Paste (CCP)
So far our discussion has centered mostly around drag and drop support. However, it is an easy matter to hook up cut or copy or paste (ccp) to a transfer handler. This requires the following steps:

Next we look at a cut and paste example that feature a text component.

Previous page: Top-Level Drop
Next page: CCP in a Text Component