You can achieve this by forcing the display to full screen.

Display.getInstance().setForceFullScreen(true);
Display.setObjectTrait(Display.getInstance().getImplementation(),...