JTable (Java SE 15 & JDK 15) (original) (raw)

All Implemented Interfaces:

[ImageObserver](../../java/awt/image/ImageObserver.html "interface in java.awt.image"), [MenuContainer](../../java/awt/MenuContainer.html "interface in java.awt"), [Serializable](../../../java.base/java/io/Serializable.html "interface in java.io"), [EventListener](../../../java.base/java/util/EventListener.html "interface in java.util"), [Accessible](../accessibility/Accessible.html "interface in javax.accessibility"), [CellEditorListener](event/CellEditorListener.html "interface in javax.swing.event"), [ListSelectionListener](event/ListSelectionListener.html "interface in javax.swing.event"), [RowSorterListener](event/RowSorterListener.html "interface in javax.swing.event"), [TableColumnModelListener](event/TableColumnModelListener.html "interface in javax.swing.event"), [TableModelListener](event/TableModelListener.html "interface in javax.swing.event"), [Scrollable](Scrollable.html "interface in javax.swing")


@JavaBean(defaultProperty="UI", description="A component which displays data in a two dimensional grid.") public class JTable extends JComponent implements TableModelListener, Scrollable, TableColumnModelListener, ListSelectionListener, CellEditorListener, Accessible, RowSorterListener

The JTable is used to display and edit regular two-dimensional tables of cells. See How to Use Tables in The Java Tutorial for task-oriented documentation and examples of using JTable.

The JTable has many facilities that make it possible to customize its rendering and editing but provides defaults for these features so that simple tables can be set up easily. For example, to set up a table with 10 rows and 10 columns of numbers:

  TableModel dataModel = new AbstractTableModel() {
      public int getColumnCount() { return 10; }
      public int getRowCount() { return 10;}
      public Object getValueAt(int row, int col) { return Integer.valueOf(row*col); }
  };
  JTable table = new JTable(dataModel);
  JScrollPane scrollpane = new JScrollPane(table);

JTables are typically placed inside of a JScrollPane. By default, a JTable will adjust its width such that a horizontal scrollbar is unnecessary. To allow for a horizontal scrollbar, invoke setAutoResizeMode(int) with AUTO_RESIZE_OFF. Note that if you wish to use a JTable in a standalone view (outside of a JScrollPane) and want the header displayed, you can get it using getTableHeader() and display it separately.

To enable sorting and filtering of rows, use aRowSorter. You can set up a row sorter in either of two ways:

When designing applications that use the JTable it is worth paying close attention to the data structures that will represent the table's data. The DefaultTableModel is a model implementation that uses a Vector of Vectors of Objects to store the cell values. As well as copying the data from an application into the DefaultTableModel, it is also possible to wrap the data in the methods of theTableModel interface so that the data can be passed to theJTable directly, as in the example above. This often results in more efficient applications because the model is free to choose the internal representation that best suits the data. A good rule of thumb for deciding whether to use the AbstractTableModel or the DefaultTableModel is to use the AbstractTableModel as the base class for creating subclasses and the DefaultTableModel when subclassing is not required.

The "TableExample" directory in the demo area of the source distribution gives a number of complete examples of JTable usage, covering how the JTable can be used to provide an editable view of data taken from a database and how to modify the columns in the display to use specialized renderers and editors.

The JTable uses integers exclusively to refer to both the rows and the columns of the model that it displays. The JTable simply takes a tabular range of cells and uses getValueAt(int, int) to retrieve the values from the model during painting. It is important to remember that the column and row indexes returned by various JTable methods are in terms of the JTable (the view) and are not necessarily the same indexes used by the model.

By default, columns may be rearranged in the JTable so that the view's columns appear in a different order to the columns in the model. This does not affect the implementation of the model at all: when the columns are reordered, the JTable maintains the new order of the columns internally and converts its column indices before querying the model.

So, when writing a TableModel, it is not necessary to listen for column reordering events as the model will be queried in its own coordinate system regardless of what is happening in the view. In the examples area there is a demonstration of a sorting algorithm making use of exactly this technique to interpose yet another coordinate system where the order of the rows is changed, rather than the order of the columns.

Similarly when using the sorting and filtering functionality provided by RowSorter the underlyingTableModel does not need to know how to do sorting, rather RowSorter will handle it. Coordinate conversions will be necessary when using the row based methods ofJTable with the underlying TableModel. All of JTables row based methods are in terms of theRowSorter, which is not necessarily the same as that of the underlying TableModel. For example, the selection is always in terms of JTable so that when using RowSorter you will need to convert usingconvertRowIndexToView orconvertRowIndexToModel. The following shows how to convert coordinates from JTable to that of the underlying model:

int[] selection = table.getSelectedRows(); for (int i = 0; i < selection.length; i++) { selection[i] = table.convertRowIndexToModel(selection[i]); } // selection is now in terms of the underlying TableModel

By default if sorting is enabled JTable will persist the selection and variable row heights in terms of the model on sorting. For example if row 0, in terms of the underlying model, is currently selected, after the sort row 0, in terms of the underlying model will be selected. Visually the selection may change, but in terms of the underlying model it will remain the same. The one exception to that is if the model index is no longer visible or was removed. For example, if row 0 in terms of model was filtered out the selection will be empty after the sort.

J2SE 5 adds methods to JTable to provide convenient access to some common printing needs. Simple new print() methods allow for quick and easy addition of printing support to your application. In addition, a newgetPrintable(javax.swing.JTable.PrintMode, java.text.MessageFormat, java.text.MessageFormat) method is available for more advanced printing needs.

As for all JComponent classes, you can useInputMap and ActionMap to associate anAction object with a KeyStroke and execute the action under specified conditions.

Warning: Swing is not thread safe. For more information see Swing's Threading Policy.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeans has been added to the java.beans package. Please see XMLEncoder.

Since:

1.2

See Also:

DefaultTableModel, TableRowSorter

Nested Classes

Modifier and Type Class Description
protected class JTable.AccessibleJTable This class implements accessibility support for theJTable class.
static class JTable.DropLocation A subclass of TransferHandler.DropLocation representing a drop location for a JTable.
static class JTable.PrintMode Printing modes, used in printing JTables.

Fields

Modifier and Type Field Description
static int AUTO_RESIZE_ALL_COLUMNS During all resize operations, proportionately resize all columns.
static int AUTO_RESIZE_LAST_COLUMN During all resize operations, apply adjustments to the last column only.
static int AUTO_RESIZE_NEXT_COLUMN When a column is adjusted in the UI, adjust the next column the opposite way.
static int AUTO_RESIZE_OFF Do not adjust column widths automatically; use a horizontal scrollbar instead.
static int AUTO_RESIZE_SUBSEQUENT_COLUMNS During UI adjustment, change subsequent columns to preserve the total width; this is the default behavior.
protected boolean autoCreateColumnsFromModel The table will query the TableModel to build the default set of columns if this is true.
protected int autoResizeMode Determines if the table automatically resizes the width of the table's columns to take up the entire width of the table, and how it does the resizing.
protected TableCellEditor cellEditor The active cell editor object, that overwrites the screen real estate occupied by the current cell and allows the user to change its contents.
protected boolean cellSelectionEnabled Obsolete as of Java 2 platform v1.3.
protected TableColumnModel columnModel The TableColumnModel of the table.
protected TableModel dataModel The TableModel of the table.
protected Hashtable<Object,​Object> defaultEditorsByColumnClass A table of objects that display and edit the contents of a cell, indexed by class as declared in getColumnClass in the TableModel interface.
protected Hashtable<Object,​Object> defaultRenderersByColumnClass A table of objects that display the contents of a cell, indexed by class as declared in getColumnClass in the TableModel interface.
protected int editingColumn Identifies the column of the cell being edited.
protected int editingRow Identifies the row of the cell being edited.
protected Component editorComp If editing, the Component that is handling the editing.
protected Color gridColor The color of the grid.
protected Dimension preferredViewportSize Used by the Scrollable interface to determine the initial visible area.
protected int rowHeight The height in pixels of each row in the table.
protected int rowMargin The height in pixels of the margin between the cells in each row.
protected boolean rowSelectionAllowed True if row selection is allowed in this table.
protected Color selectionBackground The background color of selected cells.
protected Color selectionForeground The foreground color of selected cells.
protected ListSelectionModel selectionModel The ListSelectionModel of the table, used to keep track of row selections.
protected boolean showHorizontalLines The table draws horizontal lines between cells if showHorizontalLines is true.
protected boolean showVerticalLines The table draws vertical lines between cells if showVerticalLines is true.
protected JTableHeader tableHeader The TableHeader working with the table.

Constructors

Constructor Description
JTable() Constructs a default JTable that is initialized with a default data model, a default column model, and a default selection model.
JTable​(int numRows, int numColumns) Constructs a JTable with numRows and numColumns of empty cells usingDefaultTableModel.
JTable​(Object[][] rowData,Object[] columnNames) Constructs a JTable to display the values in the two dimensional array,rowData, with column names, columnNames.
JTable​(Vector rowData,[Vector](../../../java.base/java/util/Vector.html "class in java.util") columnNames) Constructs a JTable to display the values in theVector of Vectors, rowData, with column names, columnNames.
JTable​(TableModel dm) Constructs a JTable that is initialized withdm as the data model, a default column model, and a default selection model.
JTable​(TableModel dm,TableColumnModel cm) Constructs a JTable that is initialized withdm as the data model, cm as the column model, and a default selection model.
JTable​(TableModel dm,TableColumnModel cm,ListSelectionModel sm) Constructs a JTable that is initialized withdm as the data model, cm as the column model, and sm as the selection model.
Modifier and Type Method Description
void addColumn​(TableColumn aColumn) Appends aColumn to the end of the array of columns held by this JTable's column model.
void addColumnSelectionInterval​(int index0, int index1) Adds the columns from index0 to index1, inclusive, to the current selection.
void addNotify() Calls the configureEnclosingScrollPane method.
void addRowSelectionInterval​(int index0, int index1) Adds the rows from index0 to index1, inclusive, to the current selection.
void changeSelection​(int rowIndex, int columnIndex, boolean toggle, boolean extend) Updates the selection models of the table, depending on the state of the two flags: toggle and extend.
void clearSelection() Deselects all selected columns and rows.
void columnAdded​(TableColumnModelEvent e) Invoked when a column is added to the table column model.
int columnAtPoint​(Point point) Returns the index of the column that point lies in, or -1 if the result is not in the range [0, getColumnCount()-1].
void columnMarginChanged​(ChangeEvent e) Invoked when a column is moved due to a margin change.
void columnMoved​(TableColumnModelEvent e) Invoked when a column is repositioned.
void columnRemoved​(TableColumnModelEvent e) Invoked when a column is removed from the table column model.
void columnSelectionChanged​(ListSelectionEvent e) Invoked when the selection model of the TableColumnModel is changed.
protected void configureEnclosingScrollPane() If this JTable is the viewportView of an enclosing JScrollPane (the usual situation), configure this ScrollPane by, amongst other things, installing the table's tableHeader as the columnHeaderView of the scroll pane.
int convertColumnIndexToModel​(int viewColumnIndex) Maps the index of the column in the view atviewColumnIndex to the index of the column in the table model.
int convertColumnIndexToView​(int modelColumnIndex) Maps the index of the column in the table model atmodelColumnIndex to the index of the column in the view.
int convertRowIndexToModel​(int viewRowIndex) Maps the index of the row in terms of the view to the underlying TableModel.
int convertRowIndexToView​(int modelRowIndex) Maps the index of the row in terms of theTableModel to the view.
protected TableColumnModel createDefaultColumnModel() Returns the default column model object, which is a DefaultTableColumnModel.
void createDefaultColumnsFromModel() Creates default columns for the table from the data model using the getColumnCount method defined in the TableModel interface.
protected TableModel createDefaultDataModel() Returns the default table model object, which is a DefaultTableModel.
protected void createDefaultEditors() Creates default cell editors for objects, numbers, and boolean values.
protected void createDefaultRenderers() Creates default cell renderers for objects, numbers, doubles, dates, booleans, and icons.
protected ListSelectionModel createDefaultSelectionModel() Returns the default selection model object, which is a DefaultListSelectionModel.
protected JTableHeader createDefaultTableHeader() Returns the default table header object, which is a JTableHeader.
static JScrollPane createScrollPaneForTable​(JTable aTable) Deprecated.
void doLayout() Causes this table to lay out its rows and columns.
boolean editCellAt​(int row, int column) Programmatically starts editing the cell at row andcolumn, if those indices are in the valid range, and the cell at those indices is editable.
boolean editCellAt​(int row, int column,EventObject e) Programmatically starts editing the cell at row andcolumn, if those indices are in the valid range, and the cell at those indices is editable.
void editingCanceled​(ChangeEvent e) Invoked when editing is canceled.
void editingStopped​(ChangeEvent e) Invoked when editing is finished.
AccessibleContext getAccessibleContext() Gets the AccessibleContext associated with this JTable.
boolean getAutoCreateColumnsFromModel() Determines whether the table will create default columns from the model.
boolean getAutoCreateRowSorter() Returns true if whenever the model changes, a newRowSorter should be created and installed as the table's sorter; otherwise, returns false.
int getAutoResizeMode() Returns the auto resize mode of the table.
TableCellEditor getCellEditor() Returns the active cell editor, which is null if the table is not currently editing.
TableCellEditor getCellEditor​(int row, int column) Returns an appropriate editor for the cell specified byrow and column.
Rectangle getCellRect​(int row, int column, boolean includeSpacing) Returns a rectangle for the cell that lies at the intersection ofrow and column.
TableCellRenderer getCellRenderer​(int row, int column) Returns an appropriate renderer for the cell specified by this row and column.
boolean getCellSelectionEnabled() Returns true if both row and column selection models are enabled.
TableColumn getColumn​(Object identifier) Returns the TableColumn object for the column in the table whose identifier is equal to identifier, when compared usingequals.
Class<?> getColumnClass​(int column) Returns the type of the column appearing in the view at column position column.
int getColumnCount() Returns the number of columns in the column model.
TableColumnModel getColumnModel() Returns the TableColumnModel that contains all column information of this table.
String getColumnName​(int column) Returns the name of the column appearing in the view at column position column.
boolean getColumnSelectionAllowed() Returns true if columns can be selected.
TableCellEditor getDefaultEditor​(Class<?> columnClass) Returns the editor to be used when no editor has been set in a TableColumn.
TableCellRenderer getDefaultRenderer​(Class<?> columnClass) Returns the cell renderer to be used when no renderer has been set in a TableColumn.
boolean getDragEnabled() Returns whether or not automatic drag handling is enabled.
JTable.DropLocation getDropLocation() Returns the location that this component should visually indicate as the drop location during a DnD operation over the component, or null if no location is to currently be shown.
DropMode getDropMode() Returns the drop mode for this component.
int getEditingColumn() Returns the index of the column that contains the cell currently being edited.
int getEditingRow() Returns the index of the row that contains the cell currently being edited.
Component getEditorComponent() Returns the component that is handling the editing session.
boolean getFillsViewportHeight() Returns whether or not this table is always made large enough to fill the height of an enclosing viewport.
Color getGridColor() Returns the color used to draw grid lines.
Dimension getIntercellSpacing() Returns the horizontal and vertical space between cells.
TableModel getModel() Returns the TableModel that provides the data displayed by thisJTable.
Dimension getPreferredScrollableViewportSize() Returns the preferred size of the viewport for this table.
Printable getPrintable​(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat) Return a Printable for use in printing this JTable.
int getRowCount() Returns the number of rows that can be shown in theJTable, given unlimited space.
int getRowHeight() Returns the height of a table row, in pixels.
int getRowHeight​(int row) Returns the height, in pixels, of the cells in row.
int getRowMargin() Gets the amount of empty space, in pixels, between cells.
boolean getRowSelectionAllowed() Returns true if rows can be selected.
RowSorter<? extends TableModel> getRowSorter() Returns the object responsible for sorting.
int getScrollableBlockIncrement​(Rectangle visibleRect, int orientation, int direction) Returns visibleRect.height orvisibleRect.width, depending on this table's orientation.
boolean getScrollableTracksViewportHeight() Returns false to indicate that the height of the viewport does not determine the height of the table, unlessgetFillsViewportHeight is true and the preferred height of the table is smaller than the viewport's height.
boolean getScrollableTracksViewportWidth() Returns false if autoResizeMode is set toAUTO_RESIZE_OFF, which indicates that the width of the viewport does not determine the width of the table.
int getScrollableUnitIncrement​(Rectangle visibleRect, int orientation, int direction) Returns the scroll increment (in pixels) that completely exposes one new row or column (depending on the orientation).
int getSelectedColumn() Returns the index of the first selected column, -1 if no column is selected.
int getSelectedColumnCount() Returns the number of selected columns.
int[] getSelectedColumns() Returns the indices of all selected columns.
int getSelectedRow() Returns the index of the first selected row, -1 if no row is selected.
int getSelectedRowCount() Returns the number of selected rows.
int[] getSelectedRows() Returns the indices of all selected rows.
Color getSelectionBackground() Returns the background color for selected cells.
Color getSelectionForeground() Returns the foreground color for selected cells.
ListSelectionModel getSelectionModel() Returns the ListSelectionModel that is used to maintain row selection state.
boolean getShowHorizontalLines() Returns true if the table draws horizontal lines between cells, false if it doesn't.
boolean getShowVerticalLines() Returns true if the table draws vertical lines between cells, false if it doesn't.
boolean getSurrendersFocusOnKeystroke() Returns true if the editor should get the focus when keystrokes cause the editor to be activated
JTableHeader getTableHeader() Returns the tableHeader used by this JTable.
String getToolTipText​(MouseEvent event) Overrides JComponent's getToolTipText method in order to allow the renderer's tips to be used if it has text set.
TableUI getUI() Returns the L&F object that renders this component.
String getUIClassID() Returns the suffix used to construct the name of the L&F class used to render this component.
boolean getUpdateSelectionOnSort() Returns true if the selection should be updated after sorting.
Object getValueAt​(int row, int column) Returns the cell value at row and column.
protected void initializeLocalVars() Initializes table properties to their default values.
boolean isCellEditable​(int row, int column) Returns true if the cell at row and column is editable.
boolean isCellSelected​(int row, int column) Returns true if the specified indices are in the valid range of rows and columns and the cell at the specified position is selected.
boolean isColumnSelected​(int column) Returns true if the specified index is in the valid range of columns, and the column at that index is selected.
boolean isEditing() Returns true if a cell is being edited.
boolean isRowSelected​(int row) Returns true if the specified index is in the valid range of rows, and the row at that index is selected.
void moveColumn​(int column, int targetColumn) Moves the column column to the position currently occupied by the column targetColumn in the view.
protected String paramString() Returns a string representation of this table.
Component prepareEditor​(TableCellEditor editor, int row, int column) Prepares the editor by querying the data model for the value and selection state of the cell at row, column.
Component prepareRenderer​(TableCellRenderer renderer, int row, int column) Prepares the renderer by querying the data model for the value and selection state of the cell at row, column.
boolean print() A convenience method that displays a printing dialog, and then prints this JTable in mode PrintMode.FIT_WIDTH, with no header or footer text.
boolean print​(JTable.PrintMode printMode) A convenience method that displays a printing dialog, and then prints this JTable in the given printing mode, with no header or footer text.
boolean print​(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat) A convenience method that displays a printing dialog, and then prints this JTable in the given printing mode, with the specified header and footer text.
boolean print​(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat, boolean showPrintDialog,PrintRequestAttributeSet attr, boolean interactive) Prints this table, as specified by the fully featuredprint method, with the default printer specified as the print service.
boolean print​(JTable.PrintMode printMode,MessageFormat headerFormat,MessageFormat footerFormat, boolean showPrintDialog,PrintRequestAttributeSet attr, boolean interactive,PrintService service) Prints this JTable.
void removeColumn​(TableColumn aColumn) Removes aColumn from this JTable's array of columns.
void removeColumnSelectionInterval​(int index0, int index1) Deselects the columns from index0 to index1, inclusive.
void removeEditor() Discards the editor object and frees the real estate it used for cell rendering.
void removeNotify() Calls the unconfigureEnclosingScrollPane method.
void removeRowSelectionInterval​(int index0, int index1) Deselects the rows from index0 to index1, inclusive.
protected void resizeAndRepaint() Equivalent to revalidate followed by repaint.
int rowAtPoint​(Point point) Returns the index of the row that point lies in, or -1 if the result is not in the range [0, getRowCount()-1].
void selectAll() Selects all rows, columns, and cells in the table.
void setAutoCreateColumnsFromModel​(boolean autoCreateColumnsFromModel) Sets this table's autoCreateColumnsFromModel flag.
void setAutoCreateRowSorter​(boolean autoCreateRowSorter) Specifies whether a RowSorter should be created for the table whenever its model changes.
void setAutoResizeMode​(int mode) Sets the table's auto resize mode when the table is resized.
void setCellEditor​(TableCellEditor anEditor) Sets the active cell editor.
void setCellSelectionEnabled​(boolean cellSelectionEnabled) Sets whether this table allows both a column selection and a row selection to exist simultaneously.
void setColumnModel​(TableColumnModel columnModel) Sets the column model for this table to columnModel and registers for listener notifications from the new column model.
void setColumnSelectionAllowed​(boolean columnSelectionAllowed) Sets whether the columns in this model can be selected.
void setColumnSelectionInterval​(int index0, int index1) Selects the columns from index0 to index1, inclusive.
void setDefaultEditor​(Class<?> columnClass,TableCellEditor editor) Sets a default cell editor to be used if no editor has been set in a TableColumn.
void setDefaultRenderer​(Class<?> columnClass,TableCellRenderer renderer) Sets a default cell renderer to be used if no renderer has been set in a TableColumn.
void setDragEnabled​(boolean b) Turns on or off automatic drag handling.
void setDropMode​(DropMode dropMode) Sets the drop mode for this component.
void setEditingColumn​(int aColumn) Sets the editingColumn variable.
void setEditingRow​(int aRow) Sets the editingRow variable.
void setFillsViewportHeight​(boolean fillsViewportHeight) Sets whether or not this table is always made large enough to fill the height of an enclosing viewport.
void setGridColor​(Color gridColor) Sets the color used to draw grid lines to gridColor and redisplays.
void setIntercellSpacing​(Dimension intercellSpacing) Sets the rowMargin and the columnMargin -- the height and width of the space between cells -- tointercellSpacing.
void setModel​(TableModel dataModel) Sets the data model for this table to dataModel and registers with it for listener notifications from the new data model.
void setPreferredScrollableViewportSize​(Dimension size) Sets the preferred size of the viewport for this table.
void setRowHeight​(int rowHeight) Sets the height, in pixels, of all cells to rowHeight, revalidates, and repaints.
void setRowHeight​(int row, int rowHeight) Sets the height for row to rowHeight, revalidates, and repaints.
void setRowMargin​(int rowMargin) Sets the amount of empty space between cells in adjacent rows.
void setRowSelectionAllowed​(boolean rowSelectionAllowed) Sets whether the rows in this model can be selected.
void setRowSelectionInterval​(int index0, int index1) Selects the rows from index0 to index1, inclusive.
void setRowSorter​(RowSorter<? extends TableModel> sorter) Sets the RowSorter.
void setSelectionBackground​(Color selectionBackground) Sets the background color for selected cells.
void setSelectionForeground​(Color selectionForeground) Sets the foreground color for selected cells.
void setSelectionMode​(int selectionMode) Sets the table's selection mode to allow only single selections, a single contiguous interval, or multiple intervals.
void setSelectionModel​(ListSelectionModel selectionModel) Sets the row selection model for this table to selectionModel and registers for listener notifications from the new selection model.
void setShowGrid​(boolean showGrid) Sets whether the table draws grid lines around cells.
void setShowHorizontalLines​(boolean showHorizontalLines) Sets whether the table draws horizontal lines between cells.
void setShowVerticalLines​(boolean showVerticalLines) Sets whether the table draws vertical lines between cells.
void setSurrendersFocusOnKeystroke​(boolean surrendersFocusOnKeystroke) Sets whether editors in this JTable get the keyboard focus when an editor is activated as a result of the JTable forwarding keyboard events for a cell.
void setTableHeader​(JTableHeader tableHeader) Sets the tableHeader working with this JTable to newHeader.
void setUI​(TableUI ui) Sets the L&F object that renders this component and repaints.
void setUpdateSelectionOnSort​(boolean update) Specifies whether the selection should be updated after sorting.
void setValueAt​(Object aValue, int row, int column) Sets the value for the cell in the table model at row and column.
void sizeColumnsToFit​(boolean lastColumnOnly) Deprecated.
void sizeColumnsToFit​(int resizingColumn) Obsolete as of Java 2 platform v1.4.
void sorterChanged​(RowSorterEvent e) RowSorterListener notification that theRowSorter has changed in some way.
void tableChanged​(TableModelEvent e) Invoked when this table's TableModel generates a TableModelEvent.
protected void unconfigureEnclosingScrollPane() Reverses the effect of configureEnclosingScrollPane by replacing the columnHeaderView of the enclosing scroll pane with null.
void updateUI() Notification from the UIManager that the L&F has changed.
void valueChanged​(ListSelectionEvent e) Invoked when the row selection changes -- repaints to show the new selection.

Methods declared in class javax.swing.JComponent

[addAncestorListener](JComponent.html#addAncestorListener%28javax.swing.event.AncestorListener%29), [addVetoableChangeListener](JComponent.html#addVetoableChangeListener%28java.beans.VetoableChangeListener%29), [computeVisibleRect](JComponent.html#computeVisibleRect%28java.awt.Rectangle%29), [contains](JComponent.html#contains%28int,int%29), [createToolTip](JComponent.html#createToolTip%28%29), [disable](JComponent.html#disable%28%29), [enable](JComponent.html#enable%28%29), [firePropertyChange](JComponent.html#firePropertyChange%28java.lang.String,boolean,boolean%29), [firePropertyChange](JComponent.html#firePropertyChange%28java.lang.String,int,int%29), [fireVetoableChange](JComponent.html#fireVetoableChange%28java.lang.String,java.lang.Object,java.lang.Object%29), [getActionForKeyStroke](JComponent.html#getActionForKeyStroke%28javax.swing.KeyStroke%29), [getActionMap](JComponent.html#getActionMap%28%29), [getAlignmentX](JComponent.html#getAlignmentX%28%29), [getAlignmentY](JComponent.html#getAlignmentY%28%29), [getAncestorListeners](JComponent.html#getAncestorListeners%28%29), [getAutoscrolls](JComponent.html#getAutoscrolls%28%29), [getBaseline](JComponent.html#getBaseline%28int,int%29), [getBaselineResizeBehavior](JComponent.html#getBaselineResizeBehavior%28%29), [getBorder](JComponent.html#getBorder%28%29), [getBounds](JComponent.html#getBounds%28java.awt.Rectangle%29), [getClientProperty](JComponent.html#getClientProperty%28java.lang.Object%29), [getComponentGraphics](JComponent.html#getComponentGraphics%28java.awt.Graphics%29), [getComponentPopupMenu](JComponent.html#getComponentPopupMenu%28%29), [getConditionForKeyStroke](JComponent.html#getConditionForKeyStroke%28javax.swing.KeyStroke%29), [getDebugGraphicsOptions](JComponent.html#getDebugGraphicsOptions%28%29), [getDefaultLocale](JComponent.html#getDefaultLocale%28%29), [getFontMetrics](JComponent.html#getFontMetrics%28java.awt.Font%29), [getGraphics](JComponent.html#getGraphics%28%29), [getHeight](JComponent.html#getHeight%28%29), [getInheritsPopupMenu](JComponent.html#getInheritsPopupMenu%28%29), [getInputMap](JComponent.html#getInputMap%28%29), [getInputMap](JComponent.html#getInputMap%28int%29), [getInputVerifier](JComponent.html#getInputVerifier%28%29), [getInsets](JComponent.html#getInsets%28%29), [getInsets](JComponent.html#getInsets%28java.awt.Insets%29), [getListeners](JComponent.html#getListeners%28java.lang.Class%29), [getLocation](JComponent.html#getLocation%28java.awt.Point%29), [getMaximumSize](JComponent.html#getMaximumSize%28%29), [getMinimumSize](JComponent.html#getMinimumSize%28%29), [getNextFocusableComponent](JComponent.html#getNextFocusableComponent%28%29), [getPopupLocation](JComponent.html#getPopupLocation%28java.awt.event.MouseEvent%29), [getPreferredSize](JComponent.html#getPreferredSize%28%29), [getRegisteredKeyStrokes](JComponent.html#getRegisteredKeyStrokes%28%29), [getRootPane](JComponent.html#getRootPane%28%29), [getSize](JComponent.html#getSize%28java.awt.Dimension%29), [getToolTipLocation](JComponent.html#getToolTipLocation%28java.awt.event.MouseEvent%29), [getToolTipText](JComponent.html#getToolTipText%28%29), [getTopLevelAncestor](JComponent.html#getTopLevelAncestor%28%29), [getTransferHandler](JComponent.html#getTransferHandler%28%29), [getVerifyInputWhenFocusTarget](JComponent.html#getVerifyInputWhenFocusTarget%28%29), [getVetoableChangeListeners](JComponent.html#getVetoableChangeListeners%28%29), [getVisibleRect](JComponent.html#getVisibleRect%28%29), [getWidth](JComponent.html#getWidth%28%29), [getX](JComponent.html#getX%28%29), [getY](JComponent.html#getY%28%29), [grabFocus](JComponent.html#grabFocus%28%29), [hide](JComponent.html#hide%28%29), [isDoubleBuffered](JComponent.html#isDoubleBuffered%28%29), [isLightweightComponent](JComponent.html#isLightweightComponent%28java.awt.Component%29), [isManagingFocus](JComponent.html#isManagingFocus%28%29), [isOpaque](JComponent.html#isOpaque%28%29), [isOptimizedDrawingEnabled](JComponent.html#isOptimizedDrawingEnabled%28%29), [isPaintingForPrint](JComponent.html#isPaintingForPrint%28%29), [isPaintingOrigin](JComponent.html#isPaintingOrigin%28%29), [isPaintingTile](JComponent.html#isPaintingTile%28%29), [isRequestFocusEnabled](JComponent.html#isRequestFocusEnabled%28%29), [isValidateRoot](JComponent.html#isValidateRoot%28%29), [paint](JComponent.html#paint%28java.awt.Graphics%29), [paintBorder](JComponent.html#paintBorder%28java.awt.Graphics%29), [paintChildren](JComponent.html#paintChildren%28java.awt.Graphics%29), [paintComponent](JComponent.html#paintComponent%28java.awt.Graphics%29), [paintImmediately](JComponent.html#paintImmediately%28int,int,int,int%29), [paintImmediately](JComponent.html#paintImmediately%28java.awt.Rectangle%29), [print](JComponent.html#print%28java.awt.Graphics%29), [printAll](JComponent.html#printAll%28java.awt.Graphics%29), [printBorder](JComponent.html#printBorder%28java.awt.Graphics%29), [printChildren](JComponent.html#printChildren%28java.awt.Graphics%29), [printComponent](JComponent.html#printComponent%28java.awt.Graphics%29), [processComponentKeyEvent](JComponent.html#processComponentKeyEvent%28java.awt.event.KeyEvent%29), [processKeyBinding](JComponent.html#processKeyBinding%28javax.swing.KeyStroke,java.awt.event.KeyEvent,int,boolean%29), [processKeyEvent](JComponent.html#processKeyEvent%28java.awt.event.KeyEvent%29), [processMouseEvent](JComponent.html#processMouseEvent%28java.awt.event.MouseEvent%29), [processMouseMotionEvent](JComponent.html#processMouseMotionEvent%28java.awt.event.MouseEvent%29), [putClientProperty](JComponent.html#putClientProperty%28java.lang.Object,java.lang.Object%29), [registerKeyboardAction](JComponent.html#registerKeyboardAction%28java.awt.event.ActionListener,java.lang.String,javax.swing.KeyStroke,int%29), [registerKeyboardAction](JComponent.html#registerKeyboardAction%28java.awt.event.ActionListener,javax.swing.KeyStroke,int%29), [removeAncestorListener](JComponent.html#removeAncestorListener%28javax.swing.event.AncestorListener%29), [removeVetoableChangeListener](JComponent.html#removeVetoableChangeListener%28java.beans.VetoableChangeListener%29), [repaint](JComponent.html#repaint%28long,int,int,int,int%29), [repaint](JComponent.html#repaint%28java.awt.Rectangle%29), [requestDefaultFocus](JComponent.html#requestDefaultFocus%28%29), [requestFocus](JComponent.html#requestFocus%28%29), [requestFocus](JComponent.html#requestFocus%28boolean%29), [requestFocusInWindow](JComponent.html#requestFocusInWindow%28%29), [requestFocusInWindow](JComponent.html#requestFocusInWindow%28boolean%29), [resetKeyboardActions](JComponent.html#resetKeyboardActions%28%29), [reshape](JComponent.html#reshape%28int,int,int,int%29), [revalidate](JComponent.html#revalidate%28%29), [scrollRectToVisible](JComponent.html#scrollRectToVisible%28java.awt.Rectangle%29), [setActionMap](JComponent.html#setActionMap%28javax.swing.ActionMap%29), [setAlignmentX](JComponent.html#setAlignmentX%28float%29), [setAlignmentY](JComponent.html#setAlignmentY%28float%29), [setAutoscrolls](JComponent.html#setAutoscrolls%28boolean%29), [setBackground](JComponent.html#setBackground%28java.awt.Color%29), [setBorder](JComponent.html#setBorder%28javax.swing.border.Border%29), [setComponentPopupMenu](JComponent.html#setComponentPopupMenu%28javax.swing.JPopupMenu%29), [setDebugGraphicsOptions](JComponent.html#setDebugGraphicsOptions%28int%29), [setDefaultLocale](JComponent.html#setDefaultLocale%28java.util.Locale%29), [setDoubleBuffered](JComponent.html#setDoubleBuffered%28boolean%29), [setEnabled](JComponent.html#setEnabled%28boolean%29), [setFocusTraversalKeys](JComponent.html#setFocusTraversalKeys%28int,java.util.Set%29), [setFont](JComponent.html#setFont%28java.awt.Font%29), [setForeground](JComponent.html#setForeground%28java.awt.Color%29), [setInheritsPopupMenu](JComponent.html#setInheritsPopupMenu%28boolean%29), [setInputMap](JComponent.html#setInputMap%28int,javax.swing.InputMap%29), [setInputVerifier](JComponent.html#setInputVerifier%28javax.swing.InputVerifier%29), [setMaximumSize](JComponent.html#setMaximumSize%28java.awt.Dimension%29), [setMinimumSize](JComponent.html#setMinimumSize%28java.awt.Dimension%29), [setNextFocusableComponent](JComponent.html#setNextFocusableComponent%28java.awt.Component%29), [setOpaque](JComponent.html#setOpaque%28boolean%29), [setPreferredSize](JComponent.html#setPreferredSize%28java.awt.Dimension%29), [setRequestFocusEnabled](JComponent.html#setRequestFocusEnabled%28boolean%29), [setToolTipText](JComponent.html#setToolTipText%28java.lang.String%29), [setTransferHandler](JComponent.html#setTransferHandler%28javax.swing.TransferHandler%29), [setUI](JComponent.html#setUI%28javax.swing.plaf.ComponentUI%29), [setVerifyInputWhenFocusTarget](JComponent.html#setVerifyInputWhenFocusTarget%28boolean%29), [setVisible](JComponent.html#setVisible%28boolean%29), [unregisterKeyboardAction](JComponent.html#unregisterKeyboardAction%28javax.swing.KeyStroke%29), [update](JComponent.html#update%28java.awt.Graphics%29)

Methods declared in class java.awt.Container

[add](../../java/awt/Container.html#add%28java.awt.Component%29), [add](../../java/awt/Container.html#add%28java.awt.Component,int%29), [add](../../java/awt/Container.html#add%28java.awt.Component,java.lang.Object%29), [add](../../java/awt/Container.html#add%28java.awt.Component,java.lang.Object,int%29), [add](../../java/awt/Container.html#add%28java.lang.String,java.awt.Component%29), [addContainerListener](../../java/awt/Container.html#addContainerListener%28java.awt.event.ContainerListener%29), [addImpl](../../java/awt/Container.html#addImpl%28java.awt.Component,java.lang.Object,int%29), [addPropertyChangeListener](../../java/awt/Container.html#addPropertyChangeListener%28java.beans.PropertyChangeListener%29), [addPropertyChangeListener](../../java/awt/Container.html#addPropertyChangeListener%28java.lang.String,java.beans.PropertyChangeListener%29), [applyComponentOrientation](../../java/awt/Container.html#applyComponentOrientation%28java.awt.ComponentOrientation%29), [areFocusTraversalKeysSet](../../java/awt/Container.html#areFocusTraversalKeysSet%28int%29), [countComponents](../../java/awt/Container.html#countComponents%28%29), [deliverEvent](../../java/awt/Container.html#deliverEvent%28java.awt.Event%29), [findComponentAt](../../java/awt/Container.html#findComponentAt%28int,int%29), [findComponentAt](../../java/awt/Container.html#findComponentAt%28java.awt.Point%29), [getComponent](../../java/awt/Container.html#getComponent%28int%29), [getComponentAt](../../java/awt/Container.html#getComponentAt%28int,int%29), [getComponentAt](../../java/awt/Container.html#getComponentAt%28java.awt.Point%29), [getComponentCount](../../java/awt/Container.html#getComponentCount%28%29), [getComponents](../../java/awt/Container.html#getComponents%28%29), [getComponentZOrder](../../java/awt/Container.html#getComponentZOrder%28java.awt.Component%29), [getContainerListeners](../../java/awt/Container.html#getContainerListeners%28%29), [getFocusTraversalKeys](../../java/awt/Container.html#getFocusTraversalKeys%28int%29), [getFocusTraversalPolicy](../../java/awt/Container.html#getFocusTraversalPolicy%28%29), [getLayout](../../java/awt/Container.html#getLayout%28%29), [getMousePosition](../../java/awt/Container.html#getMousePosition%28boolean%29), [insets](../../java/awt/Container.html#insets%28%29), [invalidate](../../java/awt/Container.html#invalidate%28%29), [isAncestorOf](../../java/awt/Container.html#isAncestorOf%28java.awt.Component%29), [isFocusCycleRoot](../../java/awt/Container.html#isFocusCycleRoot%28%29), [isFocusCycleRoot](../../java/awt/Container.html#isFocusCycleRoot%28java.awt.Container%29), [isFocusTraversalPolicyProvider](../../java/awt/Container.html#isFocusTraversalPolicyProvider%28%29), [isFocusTraversalPolicySet](../../java/awt/Container.html#isFocusTraversalPolicySet%28%29), [layout](../../java/awt/Container.html#layout%28%29), [list](../../java/awt/Container.html#list%28java.io.PrintStream,int%29), [list](../../java/awt/Container.html#list%28java.io.PrintWriter,int%29), [locate](../../java/awt/Container.html#locate%28int,int%29), [minimumSize](../../java/awt/Container.html#minimumSize%28%29), [paintComponents](../../java/awt/Container.html#paintComponents%28java.awt.Graphics%29), [preferredSize](../../java/awt/Container.html#preferredSize%28%29), [printComponents](../../java/awt/Container.html#printComponents%28java.awt.Graphics%29), [processContainerEvent](../../java/awt/Container.html#processContainerEvent%28java.awt.event.ContainerEvent%29), [processEvent](../../java/awt/Container.html#processEvent%28java.awt.AWTEvent%29), [remove](../../java/awt/Container.html#remove%28int%29), [remove](../../java/awt/Container.html#remove%28java.awt.Component%29), [removeAll](../../java/awt/Container.html#removeAll%28%29), [removeContainerListener](../../java/awt/Container.html#removeContainerListener%28java.awt.event.ContainerListener%29), [setComponentZOrder](../../java/awt/Container.html#setComponentZOrder%28java.awt.Component,int%29), [setFocusCycleRoot](../../java/awt/Container.html#setFocusCycleRoot%28boolean%29), [setFocusTraversalPolicy](../../java/awt/Container.html#setFocusTraversalPolicy%28java.awt.FocusTraversalPolicy%29), [setFocusTraversalPolicyProvider](../../java/awt/Container.html#setFocusTraversalPolicyProvider%28boolean%29), [setLayout](../../java/awt/Container.html#setLayout%28java.awt.LayoutManager%29), [transferFocusDownCycle](../../java/awt/Container.html#transferFocusDownCycle%28%29), [validate](../../java/awt/Container.html#validate%28%29), [validateTree](../../java/awt/Container.html#validateTree%28%29)

Methods declared in class java.awt.Component

[action](../../java/awt/Component.html#action%28java.awt.Event,java.lang.Object%29), [add](../../java/awt/Component.html#add%28java.awt.PopupMenu%29), [addComponentListener](../../java/awt/Component.html#addComponentListener%28java.awt.event.ComponentListener%29), [addFocusListener](../../java/awt/Component.html#addFocusListener%28java.awt.event.FocusListener%29), [addHierarchyBoundsListener](../../java/awt/Component.html#addHierarchyBoundsListener%28java.awt.event.HierarchyBoundsListener%29), [addHierarchyListener](../../java/awt/Component.html#addHierarchyListener%28java.awt.event.HierarchyListener%29), [addInputMethodListener](../../java/awt/Component.html#addInputMethodListener%28java.awt.event.InputMethodListener%29), [addKeyListener](../../java/awt/Component.html#addKeyListener%28java.awt.event.KeyListener%29), [addMouseListener](../../java/awt/Component.html#addMouseListener%28java.awt.event.MouseListener%29), [addMouseMotionListener](../../java/awt/Component.html#addMouseMotionListener%28java.awt.event.MouseMotionListener%29), [addMouseWheelListener](../../java/awt/Component.html#addMouseWheelListener%28java.awt.event.MouseWheelListener%29), [bounds](../../java/awt/Component.html#bounds%28%29), [checkImage](../../java/awt/Component.html#checkImage%28java.awt.Image,int,int,java.awt.image.ImageObserver%29), [checkImage](../../java/awt/Component.html#checkImage%28java.awt.Image,java.awt.image.ImageObserver%29), [coalesceEvents](../../java/awt/Component.html#coalesceEvents%28java.awt.AWTEvent,java.awt.AWTEvent%29), [contains](../../java/awt/Component.html#contains%28java.awt.Point%29), [createImage](../../java/awt/Component.html#createImage%28int,int%29), [createImage](../../java/awt/Component.html#createImage%28java.awt.image.ImageProducer%29), [createVolatileImage](../../java/awt/Component.html#createVolatileImage%28int,int%29), [createVolatileImage](../../java/awt/Component.html#createVolatileImage%28int,int,java.awt.ImageCapabilities%29), [disableEvents](../../java/awt/Component.html#disableEvents%28long%29), [dispatchEvent](../../java/awt/Component.html#dispatchEvent%28java.awt.AWTEvent%29), [enable](../../java/awt/Component.html#enable%28boolean%29), [enableEvents](../../java/awt/Component.html#enableEvents%28long%29), [enableInputMethods](../../java/awt/Component.html#enableInputMethods%28boolean%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,byte,byte%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,char,char%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,double,double%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,float,float%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,long,long%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,short,short%29), [firePropertyChange](../../java/awt/Component.html#firePropertyChange%28java.lang.String,java.lang.Object,java.lang.Object%29), [getBackground](../../java/awt/Component.html#getBackground%28%29), [getBounds](../../java/awt/Component.html#getBounds%28%29), [getColorModel](../../java/awt/Component.html#getColorModel%28%29), [getComponentListeners](../../java/awt/Component.html#getComponentListeners%28%29), [getComponentOrientation](../../java/awt/Component.html#getComponentOrientation%28%29), [getCursor](../../java/awt/Component.html#getCursor%28%29), [getDropTarget](../../java/awt/Component.html#getDropTarget%28%29), [getFocusCycleRootAncestor](../../java/awt/Component.html#getFocusCycleRootAncestor%28%29), [getFocusListeners](../../java/awt/Component.html#getFocusListeners%28%29), [getFocusTraversalKeysEnabled](../../java/awt/Component.html#getFocusTraversalKeysEnabled%28%29), [getFont](../../java/awt/Component.html#getFont%28%29), [getForeground](../../java/awt/Component.html#getForeground%28%29), [getGraphicsConfiguration](../../java/awt/Component.html#getGraphicsConfiguration%28%29), [getHierarchyBoundsListeners](../../java/awt/Component.html#getHierarchyBoundsListeners%28%29), [getHierarchyListeners](../../java/awt/Component.html#getHierarchyListeners%28%29), [getIgnoreRepaint](../../java/awt/Component.html#getIgnoreRepaint%28%29), [getInputContext](../../java/awt/Component.html#getInputContext%28%29), [getInputMethodListeners](../../java/awt/Component.html#getInputMethodListeners%28%29), [getInputMethodRequests](../../java/awt/Component.html#getInputMethodRequests%28%29), [getKeyListeners](../../java/awt/Component.html#getKeyListeners%28%29), [getLocale](../../java/awt/Component.html#getLocale%28%29), [getLocation](../../java/awt/Component.html#getLocation%28%29), [getLocationOnScreen](../../java/awt/Component.html#getLocationOnScreen%28%29), [getMouseListeners](../../java/awt/Component.html#getMouseListeners%28%29), [getMouseMotionListeners](../../java/awt/Component.html#getMouseMotionListeners%28%29), [getMousePosition](../../java/awt/Component.html#getMousePosition%28%29), [getMouseWheelListeners](../../java/awt/Component.html#getMouseWheelListeners%28%29), [getName](../../java/awt/Component.html#getName%28%29), [getParent](../../java/awt/Component.html#getParent%28%29), [getPropertyChangeListeners](../../java/awt/Component.html#getPropertyChangeListeners%28%29), [getPropertyChangeListeners](../../java/awt/Component.html#getPropertyChangeListeners%28java.lang.String%29), [getSize](../../java/awt/Component.html#getSize%28%29), [getToolkit](../../java/awt/Component.html#getToolkit%28%29), [getTreeLock](../../java/awt/Component.html#getTreeLock%28%29), [gotFocus](../../java/awt/Component.html#gotFocus%28java.awt.Event,java.lang.Object%29), [handleEvent](../../java/awt/Component.html#handleEvent%28java.awt.Event%29), [hasFocus](../../java/awt/Component.html#hasFocus%28%29), [imageUpdate](../../java/awt/Component.html#imageUpdate%28java.awt.Image,int,int,int,int,int%29), [inside](../../java/awt/Component.html#inside%28int,int%29), [isBackgroundSet](../../java/awt/Component.html#isBackgroundSet%28%29), [isCursorSet](../../java/awt/Component.html#isCursorSet%28%29), [isDisplayable](../../java/awt/Component.html#isDisplayable%28%29), [isEnabled](../../java/awt/Component.html#isEnabled%28%29), [isFocusable](../../java/awt/Component.html#isFocusable%28%29), [isFocusOwner](../../java/awt/Component.html#isFocusOwner%28%29), [isFocusTraversable](../../java/awt/Component.html#isFocusTraversable%28%29), [isFontSet](../../java/awt/Component.html#isFontSet%28%29), [isForegroundSet](../../java/awt/Component.html#isForegroundSet%28%29), [isLightweight](../../java/awt/Component.html#isLightweight%28%29), [isMaximumSizeSet](../../java/awt/Component.html#isMaximumSizeSet%28%29), [isMinimumSizeSet](../../java/awt/Component.html#isMinimumSizeSet%28%29), [isPreferredSizeSet](../../java/awt/Component.html#isPreferredSizeSet%28%29), [isShowing](../../java/awt/Component.html#isShowing%28%29), [isValid](../../java/awt/Component.html#isValid%28%29), [isVisible](../../java/awt/Component.html#isVisible%28%29), [keyDown](../../java/awt/Component.html#keyDown%28java.awt.Event,int%29), [keyUp](../../java/awt/Component.html#keyUp%28java.awt.Event,int%29), [list](../../java/awt/Component.html#list%28%29), [list](../../java/awt/Component.html#list%28java.io.PrintStream%29), [list](../../java/awt/Component.html#list%28java.io.PrintWriter%29), [location](../../java/awt/Component.html#location%28%29), [lostFocus](../../java/awt/Component.html#lostFocus%28java.awt.Event,java.lang.Object%29), [mouseDown](../../java/awt/Component.html#mouseDown%28java.awt.Event,int,int%29), [mouseDrag](../../java/awt/Component.html#mouseDrag%28java.awt.Event,int,int%29), [mouseEnter](../../java/awt/Component.html#mouseEnter%28java.awt.Event,int,int%29), [mouseExit](../../java/awt/Component.html#mouseExit%28java.awt.Event,int,int%29), [mouseMove](../../java/awt/Component.html#mouseMove%28java.awt.Event,int,int%29), [mouseUp](../../java/awt/Component.html#mouseUp%28java.awt.Event,int,int%29), [move](../../java/awt/Component.html#move%28int,int%29), [nextFocus](../../java/awt/Component.html#nextFocus%28%29), [paintAll](../../java/awt/Component.html#paintAll%28java.awt.Graphics%29), [postEvent](../../java/awt/Component.html#postEvent%28java.awt.Event%29), [prepareImage](../../java/awt/Component.html#prepareImage%28java.awt.Image,int,int,java.awt.image.ImageObserver%29), [prepareImage](../../java/awt/Component.html#prepareImage%28java.awt.Image,java.awt.image.ImageObserver%29), [processComponentEvent](../../java/awt/Component.html#processComponentEvent%28java.awt.event.ComponentEvent%29), [processFocusEvent](../../java/awt/Component.html#processFocusEvent%28java.awt.event.FocusEvent%29), [processHierarchyBoundsEvent](../../java/awt/Component.html#processHierarchyBoundsEvent%28java.awt.event.HierarchyEvent%29), [processHierarchyEvent](../../java/awt/Component.html#processHierarchyEvent%28java.awt.event.HierarchyEvent%29), [processInputMethodEvent](../../java/awt/Component.html#processInputMethodEvent%28java.awt.event.InputMethodEvent%29), [processMouseWheelEvent](../../java/awt/Component.html#processMouseWheelEvent%28java.awt.event.MouseWheelEvent%29), [remove](../../java/awt/Component.html#remove%28java.awt.MenuComponent%29), [removeComponentListener](../../java/awt/Component.html#removeComponentListener%28java.awt.event.ComponentListener%29), [removeFocusListener](../../java/awt/Component.html#removeFocusListener%28java.awt.event.FocusListener%29), [removeHierarchyBoundsListener](../../java/awt/Component.html#removeHierarchyBoundsListener%28java.awt.event.HierarchyBoundsListener%29), [removeHierarchyListener](../../java/awt/Component.html#removeHierarchyListener%28java.awt.event.HierarchyListener%29), [removeInputMethodListener](../../java/awt/Component.html#removeInputMethodListener%28java.awt.event.InputMethodListener%29), [removeKeyListener](../../java/awt/Component.html#removeKeyListener%28java.awt.event.KeyListener%29), [removeMouseListener](../../java/awt/Component.html#removeMouseListener%28java.awt.event.MouseListener%29), [removeMouseMotionListener](../../java/awt/Component.html#removeMouseMotionListener%28java.awt.event.MouseMotionListener%29), [removeMouseWheelListener](../../java/awt/Component.html#removeMouseWheelListener%28java.awt.event.MouseWheelListener%29), [removePropertyChangeListener](../../java/awt/Component.html#removePropertyChangeListener%28java.beans.PropertyChangeListener%29), [removePropertyChangeListener](../../java/awt/Component.html#removePropertyChangeListener%28java.lang.String,java.beans.PropertyChangeListener%29), [repaint](../../java/awt/Component.html#repaint%28%29), [repaint](../../java/awt/Component.html#repaint%28int,int,int,int%29), [repaint](../../java/awt/Component.html#repaint%28long%29), [requestFocus](../../java/awt/Component.html#requestFocus%28boolean,java.awt.event.FocusEvent.Cause%29), [requestFocus](../../java/awt/Component.html#requestFocus%28java.awt.event.FocusEvent.Cause%29), [requestFocusInWindow](../../java/awt/Component.html#requestFocusInWindow%28java.awt.event.FocusEvent.Cause%29), [resize](../../java/awt/Component.html#resize%28int,int%29), [resize](../../java/awt/Component.html#resize%28java.awt.Dimension%29), [setBounds](../../java/awt/Component.html#setBounds%28int,int,int,int%29), [setBounds](../../java/awt/Component.html#setBounds%28java.awt.Rectangle%29), [setComponentOrientation](../../java/awt/Component.html#setComponentOrientation%28java.awt.ComponentOrientation%29), [setCursor](../../java/awt/Component.html#setCursor%28java.awt.Cursor%29), [setDropTarget](../../java/awt/Component.html#setDropTarget%28java.awt.dnd.DropTarget%29), [setFocusable](../../java/awt/Component.html#setFocusable%28boolean%29), [setFocusTraversalKeysEnabled](../../java/awt/Component.html#setFocusTraversalKeysEnabled%28boolean%29), [setIgnoreRepaint](../../java/awt/Component.html#setIgnoreRepaint%28boolean%29), [setLocale](../../java/awt/Component.html#setLocale%28java.util.Locale%29), [setLocation](../../java/awt/Component.html#setLocation%28int,int%29), [setLocation](../../java/awt/Component.html#setLocation%28java.awt.Point%29), [setMixingCutoutShape](../../java/awt/Component.html#setMixingCutoutShape%28java.awt.Shape%29), [setName](../../java/awt/Component.html#setName%28java.lang.String%29), [setSize](../../java/awt/Component.html#setSize%28int,int%29), [setSize](../../java/awt/Component.html#setSize%28java.awt.Dimension%29), [show](../../java/awt/Component.html#show%28%29), [show](../../java/awt/Component.html#show%28boolean%29), [size](../../java/awt/Component.html#size%28%29), [toString](../../java/awt/Component.html#toString%28%29), [transferFocus](../../java/awt/Component.html#transferFocus%28%29), [transferFocusBackward](../../java/awt/Component.html#transferFocusBackward%28%29), [transferFocusUpCycle](../../java/awt/Component.html#transferFocusUpCycle%28%29)