| 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.table | Provides classes and interfaces for dealing with
 javax.swing.JTable. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JTableThe  JTableis used to display and edit regular two-dimensional tables
 of cells. | 
| protected class  | JTable.AccessibleJTableThis class implements accessibility support for the
  JTableclass. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JTableHeaderThis is the object which manages the header of the  JTable. | 
| Modifier and Type | Method and Description | 
|---|---|
| TableColumnModelListener[] | DefaultTableColumnModel. getColumnModelListeners()Returns an array of all the column model listeners
 registered on this model. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultTableColumnModel. addColumnModelListener(TableColumnModelListener x)Adds a listener for table column model events. | 
| void | TableColumnModel. addColumnModelListener(TableColumnModelListener x)Adds a listener for table column model events. | 
| void | DefaultTableColumnModel. removeColumnModelListener(TableColumnModelListener x)Removes a listener for table column model events. | 
| void | TableColumnModel. removeColumnModelListener(TableColumnModelListener x)Removes a listener for table column model events. | 
 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.