JOptionPane.showMessageDialog(jFrame,"Please assign an ID to the speaker "+"\""+speaker.getFeatureValueAsString(speakerFeat)+"\""+".","Attention",JOptionPane.WARNING_MESSAGE);
MessageDialog.openWarning(speakerShell,"Warning","Please assign an ID to the speaker "+"\""+speaker.getFeatureValueAsString(speakerFeat)+"\""+".");
//speakerShell.close();
//JFrame jFrame = new JFrame("Information");
//JOptionPane.showMessageDialog(jFrame, "Please assign an ID to the speaker " + "\"" + speaker.getFeatureValueAsString(speakerFeat) + "\"" + ".", "Attention", JOptionPane.WARNING_MESSAGE);
speakerIDFlag=true;
}
}
...
...
@@ -1013,8 +1061,10 @@ public class RedeWiedergabeView extends AEditorSubordinateViewPart {
JOptionPane.showMessageDialog(jFrame,"The speaker already has the ID "+selected.getFeatureValueAsString(frameIDFeat)+".","Attention",JOptionPane.WARNING_MESSAGE);
MessageDialog.openWarning(speakerOutsideFrameShell,"Warning","The speaker already has the ID "+selected.getFeatureValueAsString(frameIDFeat)+".");
//speakerOutsideFrameShell.close();
//JFrame jFrame = new JFrame("Information");
//JOptionPane.showMessageDialog(jFrame, "The speaker already has the ID " + selected.getFeatureValueAsString(frameIDFeat) + ".", "Attention", JOptionPane.WARNING_MESSAGE);
JOptionPane.showMessageDialog(jFrame,"The speaker already has the ID "+selected.getFeatureValueAsString(stwrIDFeat)+".","Attention",JOptionPane.WARNING_MESSAGE);
MessageDialog.openWarning(speakerOutsideStwrShell,"Warning","The speaker already has the ID "+selected.getFeatureValueAsString(stwrIDFeat)+".");
//speakerOutsideStwrShell.close();
//JFrame jFrame = new JFrame("Information");
//JOptionPane.showMessageDialog(jFrame, "The speaker already has the ID " + selected.getFeatureValueAsString(stwrIDFeat) + ".", "Attention", JOptionPane.WARNING_MESSAGE);