-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6
-
merlin
-
generic
-
generic
Name: dbT83986 Date: 03/17/99
Method removeColumn(TableColumn column) in
class DefaultTableColumnModel has the following java-code snippet:
// Post columnAdded event notification. (JTable and JTableHeader
// listens so they can adjust size and redraw)
fireColumnRemoved(new TableColumnModelEvent(this,
getColumnCount() - 1, 0));
Instead of "getColumnCount() - 1" there should be index of
the removed column!
This may be a typical copy and paste error by copying code
from the addColumn method.
(Review ID: 54135)
======================================================================