JOptionPane.showMessageDialog(null, java.util.ResourceBundle.getBundle("global").getString("noTransFound"),java.util.ResourceBundle.getBundle("global").getString("Error"),
JOptionPane.showMessageDialog(null, "No Transitions found!","Error",
            public void actionPerformed(ActionEvent event) {                // starte den transedit Dialog                if (invoker.getTransList().isEmpty()) {                    JOptionPane.showMessageDialog(null, java.util.ResourceBundle.getBundle("global").getString("noTransFound"),java.util.ResourceBundle.getBundle("global").getString("Error"),                                    JOptionPane.WARNING_MESSAGE);                    return;                }                                TransEdit myTEdlg;                                myTEdlg = new TransEdit(myGUI);                                myTEdlg.setData(invoker.getTransList());                                myTEdlg.run();                invoker.getParent().repaint();            }