*/
private Terminal.ErrorListener errorHandler = this;
- private boolean debugMode = true;
-
/**
* <p>
* Gets a window by name. Returns <code>null</code> if the application is
this.applicationUrl = applicationUrl;
properties = applicationProperties;
this.context = context;
- if ((getProperty("Debug") != null && getProperty("Debug")
- .equals("true"))
- || getProperty("debug") != null
- && getProperty("debug").equals("true")) {
- debugMode = true;
- }
init();
applicationIsRunning = true;
}
}
- /**
- * Return true if application is in debug mode.
- *
- * @return true if in debug modes
- */
- public boolean isDebugMode() {
- return debugMode;
- }
}
\ No newline at end of file