@Override
                public void actionPerformed(ActionEvent e) {
                    int rowIndex = table.getSelectedRow();
                    if (rowIndex == -1) return;
                    int modelIndex = table.convertRowIndexToModel(rowIndex);
                    SavedConnection conn = model.modelData.get(modelIndex);
                    savedConnections.remove(conn);
                    serializeSavedConnections();
                    model.removeRowRange(modelIndex, modelIndex);
                }