Exemple #1
0
 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);
   }
 }
Exemple #2
0
 private void detailsActionPerformed(java.awt.event.ActionEvent evt) {
   controller.addNodeDetails(node);
 }