+ private void show_error_internal(String message, String title) {
+ JOptionPane.showMessageDialog(frame,
+ message,
+ title,
+ JOptionPane.ERROR_MESSAGE);
+ }
+
+ private void show_error(String in_message, String in_title) {
+ final String message = in_message;
+ final String title = in_title;
+ Runnable r = new Runnable() {
+ public void run() {
+ try {
+ show_error_internal(message, title);
+ } catch (Exception ex) {
+ }
+ }
+ };
+ SwingUtilities.invokeLater(r);
+ }
+