/** * Orientation is supported for Java Runtime 2.0.0 for Series 40 onwards. Called when display's * orientation has changed. */ public void displayOrientationChanged(int newDisplayOrientation) { /** Change MIDlet UI orientation */ Orientation.setAppOrientation(newDisplayOrientation); }