private void formKeyPressed(java.awt.event.KeyEvent evt)//GEN-FIRST:event_formKeyPressed
    {//GEN-HEADEREND:event_formKeyPressed
        if (evt.getExtendedKeyCode() == KeyEvent.VK_DELETE)
        {
            Object[] options =
            {
                "Da",
                "Ne"
            };
            int n = JOptionPane.showOptionDialog(this,
                    "Da li ste sigurni da zelite da obrisete komponentu?" + dc_selected.toString(),
                    "Potvrda",
                    JOptionPane.YES_NO_CANCEL_OPTION,
                    JOptionPane.QUESTION_MESSAGE,
                    null,
                    options,
                    options[1]);
        }
    }//GEN-LAST:event_formKeyPressed