This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NB 5.0 dev build 20050915 JDK 1.5.0_05 IndexOutOfBoundsException is thrown when deleting rows from JTable model Steps to reproduce: 1) create new form and place JTable into it 2) go to model editor (selec JTable, in the properties window click on Model) 3) select type in the last row -> the combobox is opened 4) click again to the same place -> the combobox is closed (but the array is displayed in the right - see the screenshot) 5) click on delete button -> row is deleted 6) click somewhere in the table ->java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.set(ArrayList.java:338) at org.netbeans.modules.form.editors2.TableModelEditor$NbTableModel.setValueAt(TableModelEditor.java:573)
Created attachment 24842 [details] exception
Created attachment 24843 [details] screenshot
Fixed.
verified