private void deleteMenuActionPerformed(java.awt.event.ActionEvent evt) { int result = JOptionPane.showConfirmDialog( this, "Are you sure you want to delete this subnet and its links?", "Confirmation", JOptionPane.YES_NO_OPTION); if (result == JOptionPane.YES_OPTION) { controller.deleteNode(node); } }
private void detailsActionPerformed(java.awt.event.ActionEvent evt) { controller.addNodeDetails(node); }