Component count leakage fix

This commit is contained in:
Prasanta Sadhukhan 2026-01-02 10:00:13 +00:00
parent 57f55306f1
commit d4cf50ffdb

View File

@ -5962,6 +5962,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
private void readObject(ObjectInputStream s)
throws IOException, ClassNotFoundException
{
this.removeAll();
ObjectInputStream.GetField f = s.readFields();
TableModel newDataModel = (TableModel) f.get("dataModel", null);