Generated by
JDiff

Class javax.swing.JTable

Documentation changed from old to new.

Changed Constructors
JTable(Vector, Vector) Documentation changed from old to new.
Constructs a JTable to display the values in the Vector of Vectors rowData with column names columnNames.
 

Added Methods
boolean getDragEnabled() Gets the value of the dragEnabled property.
boolean getSurrendersFocusOnKeystroke() Returns true if the editor should get the focus when keystrokes cause the editor to be activated
void setDragEnabled(boolean) Sets the dragEnabled property which must be true to enable automatic drag handling (the first part of drag and drop) on this component.
void setSurrendersFocusOnKeystroke(boolean) 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.
 

Changed Methods
void doLayout() Documentation changed from old to new.
Causes this table to lay out its rows and columns.
int getAutoResizeMode() Documentation changed from old to new.
Returns the auto resize mode of the table.
Rectangle getCellRect(int, int, boolean) Documentation changed from old to new.
Returns a rectangle for the cell that lies at the intersection of row and column.
Color getGridColor() Documentation changed from old to new.
Returns the color used to draw grid lines.
boolean getScrollableTracksViewportWidth() Documentation changed from old to new.
Returns false if autoResizeMode is set to AUTO_RESIZE_OFF which indicates that the width of the viewport does not determine the width of the table.
boolean isFocusTraversable() Documentation changed from old to new.
Method was locally defined, but is now inherited from Component. Now deprecated.
As of 1.4, replaced by isFocusable().
boolean isManagingFocus() Documentation changed from old to new.
Method was locally defined, but is now inherited from JComponent. Now deprecated.
As of 1.4, replaced by Component.setFocusTraversalKeys(int, Set) and Container.setFocusCycleRoot(boolean).
Component prepareRenderer(TableCellRenderer, int, int) Documentation changed from old to new.
Prepares the renderer by querying the data model for the value and selection state of the cell at row column.
void setAutoResizeMode(int) Documentation changed from old to new.
Sets the table's auto resize mode when the table is resized.
void setCellSelectionEnabled(boolean) Documentation changed from old to new.
Sets whether this table allows both a column selection and a row selection to exist simultaneously.
void setColumnSelectionAllowed(boolean) Documentation changed from old to new.
Sets whether the columns in this model can be selected.
void setGridColor(Color) Documentation changed from old to new.
Sets the color used to draw grid lines to gridColor and redisplays.
void setRowSelectionAllowed(boolean) Documentation changed from old to new.
Sets whether the rows in this model can be selected.
void tableChanged(TableModelEvent) Documentation changed from old to new.
Invoked when this table's TableModel generates a TableModelEvent.
boolean editCellAt(int, int) Documentation changed from old to new.
Programmatically starts editing the cell at row and column if the cell is editable.
boolean editCellAt(int, int, EventObject) Documentation changed from old to new.
Programmatically starts editing the cell at row and column if the cell is editable.
void setRowHeight(int) Documentation changed from old to new.
Sets the height in pixels of all cells to rowHeight revalidates and repaints.
void setUI(TableUI) Documentation changed from old to new.
Sets the L&F object that renders this component and repaints.
void sizeColumnsToFit(boolean) Documentation changed from old to new.
As of Swing version 1.0.3, replaced by doLayout().
void sizeColumnsToFit(int) Documentation changed from old to new.
Obsolete as of Java 2 platform v1.4.