import javax.swing.event.ChangeListener;
import javax.swing.event.EventListenerList;
+import net.sf.openrocket.util.BugException;
import net.sf.openrocket.util.ChangeSource;
import net.sf.openrocket.util.Coordinate;
import net.sf.openrocket.util.MathUtil;
}
public String getMotorConfigurationDescription() {
- return rocket.getMotorConfigurationDescription(motorConfiguration);
+ return rocket.getMotorConfigurationNameOrDescription(motorConfiguration);
}
rocket.addComponentChangeListener(config);
return config;
} catch (CloneNotSupportedException e) {
- throw new RuntimeException("BUG: clone not supported!",e);
+ throw new BugException("BUG: clone not supported!",e);
}
}