| 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.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
JList.DropLocation
A subclass of
TransferHandler.DropLocation representing
a drop location for a JList. |
static class |
JTable.DropLocation
A subclass of
TransferHandler.DropLocation representing
a drop location for a JTable. |
static class |
JTree.DropLocation
A subclass of
TransferHandler.DropLocation representing
a drop location for a JTree. |
| Modifier and Type | Method and Description |
|---|---|
TransferHandler.DropLocation |
TransferHandler.TransferSupport.getDropLocation()
Returns the current (non-
null) drop location for the component,
when this TransferSupport represents a drop. |
| Modifier and Type | Class and Description |
|---|---|
static class |
JTextComponent.DropLocation
Represents a drop location for
JTextComponents. |
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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.