- improve error dialog

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 14 years ago
parent c028bc4212
commit 4dd25e370c
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/NewCustomControlWizardAction.java

@ -117,7 +117,7 @@ public final class NewCustomControlWizardAction extends AbstractNewControlWizard
DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("Error instatiating class!")); DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("Error instatiating class!"));
} }
} else { } else {
DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("Cannot find class:\n" + className+ "\nMake sure the name is correct, also make sure\nyour projects classes are compiled, best enable\n 'Save on Compile' in the project preferences under 'build'")); DialogDisplayer.getDefault().notifyLater(new NotifyDescriptor.Message("Cannot find class: " + className+ "\nMake sure the name is correct and the project is compiled,\nbest enable 'Save on Compile' in the project preferences."));
} }
return null; return null;
} }

Loading…
Cancel
Save