I\'m subclassing JTable and using a DefaultTableModel to model my table data. The following class sets up the JTable, and adds one row to the model.
import
replace
tabWindow.addTab(...);
with
SwingUtilities.invokeLater(new Runnable() { @Override public void run() { tabWindow.addTab(...); } });
Such situation can hapen when you change tabbed pane in action listener.