private void bAddActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bAddActionPerformed
        try {
            App.ge.extractShapes(getGmlTextWrapped());
            doClose(RET_ADD);
        } catch (XMLStreamException ex) {
            System.err.println(ex.getMessage());
            JOptionPane.showMessageDialog(this, "Unrecognized or malformed GML fragment!", "Add failed", JOptionPane.ERROR_MESSAGE);
        }
    }//GEN-LAST:event_bAddActionPerformed