transitionIn = CommonTransitions.createSlide(CommonTransitions.SLIDE_VERTICAL, true, 300, true);
transitionOut = CommonTransitions.createSlide(CommonTransitions.SLIDE_VERTICAL, false, 300, true);
}
if (Display.getInstance().isThirdSoftButton()) {
setLayout(new GridLayout(1, 3));
soft = new Button[]{createSoftButton(), createSoftButton(), createSoftButton()};
main = soft[0];
main.setAlignment(Label.CENTER);
left = soft[1];
right = soft[2];
addComponent(left);
addComponent(main);
addComponent(right);
if (isReverseSoftButtons()) {
Button b = soft[1];
soft[1] = soft[2];
soft[2] = b;
}
} else {
setLayout(new GridLayout(1, 2));
soft = new Button[]{createSoftButton(), createSoftButton()};
main = soft[0];
left = soft[0];
right = soft[1];
addComponent(left);