|
|
@ -274,6 +274,9 @@ public class NewJForm extends JForm { |
|
|
|
|
|
|
|
|
|
|
|
public UIButton[] createExtraButtons() { |
|
|
|
public UIButton[] createExtraButtons() { |
|
|
|
UIButton[] extraButtons = super.createExtraButtons(); |
|
|
|
UIButton[] extraButtons = super.createExtraButtons(); |
|
|
|
|
|
|
|
if (mobileForm()) { |
|
|
|
|
|
|
|
return extraButtons; |
|
|
|
|
|
|
|
} |
|
|
|
switchAction = new SwitchAction(); |
|
|
|
switchAction = new SwitchAction(); |
|
|
|
return ArrayUtils.addAll(extraButtons, new UIButton[]{switchAction.getToolBarButton()}); |
|
|
|
return ArrayUtils.addAll(extraButtons, new UIButton[]{switchAction.getToolBarButton()}); |
|
|
|
} |
|
|
|
} |
|
|
|