JavaTM 2 Platform
Std. Ed. v1.3.1

Package javax.swing.table

Provides classes and interfaces for dealing with javax.swing.JTable.


Interface Summary
TableCellEditor This interface defines the method any object that would like to be an editor of values for components such as JListBox, JComboBox, JTree, or JTable needs to implement.
TableCellRenderer This interface defines the method required by any object that would like to be a renderer for cells in a JTable.
TableColumnModel Defines the requirements for a table column model object suitable for use with JTable.
TableModel The TableModel interface specifies the methods the JTable will use to interrogate a tabular data model.

Class Summary
AbstractTableModel This abstract class provides default implementations for most of the methods in the TableModel interface.
DefaultTableCellRenderer The standard class for rendering (displaying) individual cells in a JTable.
DefaultTableCellRenderer.UIResource A subclass of DefaultTableCellRenderer that implements UIResource.
DefaultTableColumnModel The standard column-handler for a JTable.
DefaultTableModel This is an implementation of TableModel that uses a Vector of Vectors to store the cell value objects.
JTableHeader This is the object which manages the header of the JTable.
TableColumn A TableColumn represents all the attributes of a column in a JTable, such as width, resizibility, minimum and maximum width.

Package javax.swing.table Description

Provides classes and interfaces for dealing with javax.swing.JTable. JTable is Swing's grid or tabular view for constructing user interfaces for tabular data structures inside an application. Use this package if you want control over how tables are constructed, updated, and rendered, as well as how data associated with the tables are viewed and managed.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.