- change default error message of engine

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9695 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 1bad383be2
commit 23e949974a
  1. 2
      engine/src/android/com/jme3/system/android/JmeAndroidSystem.java
  2. 2
      engine/src/desktop/com/jme3/system/JmeDesktopSystem.java

@ -63,7 +63,7 @@ public class JmeAndroidSystem extends JmeSystemDelegate {
@Override
public void showErrorDialog(String message) {
final String finalMsg = message;
final String finalTitle = "Error in jMonkeyEngine app";
final String finalTitle = "Error in application";
final Activity context = JmeAndroidSystem.getActivity();
context.runOnUiThread(new Runnable() {

@ -78,7 +78,7 @@ public class JmeDesktopSystem extends JmeSystemDelegate {
@Override
public void showErrorDialog(String message) {
final String msg = message;
final String title = "Error in jMonkeyEngine app";
final String title = "Error in application";
EventQueue.invokeLater(new Runnable() {
public void run() {
JOptionPane.showMessageDialog(null, msg, title, JOptionPane.ERROR_MESSAGE);

Loading…
Cancel
Save