Change view type from buttons to drop-down, include 3d figure & realistic
This commit is contained in:
parent
a2afb106d5
commit
4f28eea758
@ -28,6 +28,33 @@ public class Quick3dMain {
|
|||||||
* @param args
|
* @param args
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
Application.setExceptionHandler(new ExceptionHandler() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void uncaughtException(Thread thread, Throwable throwable) {
|
||||||
|
throwable.printStackTrace();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleErrorCondition(Throwable exception) {
|
||||||
|
|
||||||
|
exception.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleErrorCondition(String message, Throwable exception) {
|
||||||
|
exception.printStackTrace();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleErrorCondition(String message) {
|
||||||
|
System.err.println(message);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
Application.setBaseTranslator(new ResourceBundleTranslator("l10n.messages"));
|
||||||
Application.setBaseTranslator(new ResourceBundleTranslator(
|
Application.setBaseTranslator(new ResourceBundleTranslator(
|
||||||
"l10n.messages"));
|
"l10n.messages"));
|
||||||
Application.setMotorSetDatabase(new ThrustCurveMotorSetDatabase(false) {
|
Application.setMotorSetDatabase(new ThrustCurveMotorSetDatabase(false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user