Uses of Class javax.swing.event.ListDataEvent (Java Platform SE 8 )
Date: 2026-06-25

## Uses of Class
javax.swing.event.ListDataEvent

- Packages that use ListDataEvent
  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.event | Provides for events fired by Swing components.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.

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

    Methods in javax.swing with parameters of type ListDataEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | JComboBox.`contentsChanged(ListDataEvent e)` This method is public as an implementation side effect.
    `void` | JList.AccessibleJList.`contentsChanged(ListDataEvent e)` List Data Listener contents changed method.
    `void` | JComboBox.`intervalAdded(ListDataEvent e)` This method is public as an implementation side effect.
    `void` | JList.AccessibleJList.`intervalAdded(ListDataEvent e)` List Data Listener interval added method.
    `void` | JComboBox.`intervalRemoved(ListDataEvent e)` This method is public as an implementation side effect.
    `void` | JList.AccessibleJList.`intervalRemoved(ListDataEvent e)` List Data Listener interval removed method.

  - ### Uses of ListDataEvent in javax.swing.event

    Methods in javax.swing.event with parameters of type ListDataEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ListDataListener.`contentsChanged(ListDataEvent e)` Sent when the contents of the list has changed in a way that's too complex to characterize with the previous methods.
    `void` | ListDataListener.`intervalAdded(ListDataEvent e)` Sent after the indices in the index0,index1 interval have been inserted in the data model.
    `void` | ListDataListener.`intervalRemoved(ListDataEvent e)` Sent after the indices in the index0,index1 interval have been removed from the data model.

  - ### Uses of ListDataEvent in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic with parameters of type ListDataEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicListUI.ListDataHandler.`contentsChanged(ListDataEvent e)`
    `void` | BasicComboPopup.ListDataHandler.`contentsChanged(ListDataEvent e)`
    `void` | BasicComboBoxUI.ListDataHandler.`contentsChanged(ListDataEvent e)`
    `void` | BasicListUI.ListDataHandler.`intervalAdded(ListDataEvent e)`
    `void` | BasicComboPopup.ListDataHandler.`intervalAdded(ListDataEvent e)`
    `void` | BasicComboBoxUI.ListDataHandler.`intervalAdded(ListDataEvent e)`
    `void` | BasicDirectoryModel.`intervalAdded(ListDataEvent e)` Obsolete - not used.
    `void` | BasicListUI.ListDataHandler.`intervalRemoved(ListDataEvent e)`
    `void` | BasicComboPopup.ListDataHandler.`intervalRemoved(ListDataEvent e)`
    `void` | BasicComboBoxUI.ListDataHandler.`intervalRemoved(ListDataEvent e)`
    `void` | BasicDirectoryModel.`intervalRemoved(ListDataEvent e)` Obsolete - not used.

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.