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 | 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 | 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 | Description |
---|---|---|
static class |
JTextComponent.DropLocation
Represents a drop location for
JTextComponent s. |
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.
Scripting on this page tracks web page traffic, but does not change the content in any way.