classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [Patch][gui] javax.swing.TransferHandler implemented


From: Michael Koch
Subject: [cp-patches] [Patch][gui] javax.swing.TransferHandler implemented
Date: Wed, 15 Dec 2004 10:17:46 +0100
User-agent: Mutt/1.5.6+20040907i

Hi list,


I just commited the attached patch to implement
javax.swing.TransferHandler and the transfer methods copy(), cut() and
paste() in javax.swing.text.JTextComponent. The Swing parts should be
mostly ok now. Just the parts in java.awt.datatransfer seem to be
incomplete. Someone should look into these and make it work with our GTK
peer.


Michael


2004-12-15  Michael Koch  <address@hidden>

        * javax/swing/JComponent.java
        (setTransferHandler): Made public. Fire property change event.
        * javax/swing/TransferHandler.java: Implemented.
        * javax/swing/text/JTextComponent.java
        (DefaultTransferHandler): New inner class.
        (defaultTransferHandler): New variable.
        (copy): New method.
        (cut): Likewise.
        (paste): Likewise.
        (doTransferAction): Likewise.

Attachment: swing.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]