- make "classes changed" message be displayed as information and not as an error

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8638 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent dcaa8c334f
commit fda1ee37ca
  1. 2
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerTopComponent.java

@ -920,7 +920,7 @@ private void scaleButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
Confirmation msg = new NotifyDescriptor.Confirmation( Confirmation msg = new NotifyDescriptor.Confirmation(
"Classes have been changed, reload scene?", "Classes have been changed, reload scene?",
NotifyDescriptor.OK_CANCEL_OPTION, NotifyDescriptor.OK_CANCEL_OPTION,
NotifyDescriptor.ERROR_MESSAGE); NotifyDescriptor.INFORMATION_MESSAGE);
Object result = DialogDisplayer.getDefault().notify(msg); Object result = DialogDisplayer.getDefault().notify(msg);
if (!NotifyDescriptor.OK_OPTION.equals(result)) { if (!NotifyDescriptor.OK_OPTION.equals(result)) {
return; return;

Loading…
Cancel
Save