screen.processAddAndRemoveLayerElements();
nifty.addScreen(id, screen);
}
private ScreenController resolveScreenController(final Nifty nifty, final String controller) {
ScreenController screenController = null;
if (controller != null) {
screenController = nifty.findScreenController(controller);
if (screenController == null) {
screenController = ClassHelper.getInstance(controller, ScreenController.class);
}