Author:
An extension of the default Swing JTable, that passes action key events, displays tooltips and autoresizes columns.
In detail, the following features are provided:
Fires an ActionEvent ,if Enter , Tab or Shift-Tab is pressed.
Therefore, addActionListener(ActionListener) and removeActionListener(ActionListener) methods are provided.
Displays tooltips for partially visible text entries.
To use this feature, you must use a TableCellRenderer that implements the methods getToolTipText() and/or getToolTipText(MouseEvent) , otherwise you won't see any tooltips.
utoresizes all columns to the length of its longest content string.
As a drawback, this HelpfulJTable can only be used to with a String cell renderer, nothing complicated as a JList. (Complex components may be used a CellEditor, however).
Only the default constructor of JTable is provided. Please use setModel(TableModel) to set another model.