Uses of Class javax.swing.TransferHandler (Java Platform SE 8 )
Date: 2026-03-16

## Uses of Class
javax.swing.TransferHandler

- Packages that use TransferHandler
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

- - ### Uses of TransferHandler in javax.swing

    Methods in javax.swing that return TransferHandler
    Modifier and Type | Method and Description
    --- | ---
    `TransferHandler` | JDialog.`getTransferHandler()` Gets the `transferHandler` property.
    `TransferHandler` | JComponent.`getTransferHandler()` Gets the `transferHandler` property.
    `TransferHandler` | JApplet.`getTransferHandler()` Gets the `transferHandler` property.
    `TransferHandler` | JFrame.`getTransferHandler()` Gets the `transferHandler` property.
    `TransferHandler` | JWindow.`getTransferHandler()` Gets the `transferHandler` property.

    Methods in javax.swing with parameters of type TransferHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | JDialog.`setTransferHandler(TransferHandler newHandler)` Sets the `transferHandler` property, which is a mechanism to support transfer of data into this component.
    `void` | JComponent.`setTransferHandler(TransferHandler newHandler)` Sets the `TransferHandler`, which provides support for transfer of data into and out of this component via cut/copy/paste and drag and drop.
    `void` | JApplet.`setTransferHandler(TransferHandler newHandler)` Sets the `transferHandler` property, which is a mechanism to support transfer of data into this component.
    `void` | JFrame.`setTransferHandler(TransferHandler newHandler)` Sets the `transferHandler` property, which is a mechanism to support transfer of data into this component.
    `void` | JWindow.`setTransferHandler(TransferHandler newHandler)` Sets the `transferHandler` property, which is a mechanism to support transfer of data into this component.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.