Source:
<code>protected WidgetGroup createWidgetGroup() { final int screenWidth = Gdx.graphics.getWidth(); final int screenHeight = Gdx.graphics.getHeight(); cDrawer = new CollectibleDrawer(); cContainer = new Table(); cContainer.setFillParent(true); cBackButton = cGameSkin.generateDefaultMenuButton("Back"); cBackButton.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { ScreenStore.getInstance().setScreen("Home"); } }); cContentTable = new Table(); cContentTable.setWidth(screenWidth); cScrollPane = new ScrollPane(cContentTable); cScrollPane.setForceScroll(false, true); cSortBox = cGameSkin.generateDefaultSelectbox(); String[] def = new String[2]; def[0] = "Sort_Rarity"; def[1] = "<Insert Sort Object>"; cSortBox.setItems(def); cSortBox.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { System.out.println("Selected Sorting: " + cSortBox.getSelected()); } }); cGroupsBox = cGameSkin.generateDefaultSelectbox(); String[] abc = new String[3]; abc[0] = "My Collection"; abc[1] = "Group_1"; abc[2] = "Group_2"; <START> cGroupsBox.setItems(abc); <END> cGroupsBox.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { System.out.println("Selected Collection: " + cGroupsBox.getSelected()); } }); cContainer.row().height(screenHeight / cItemsOnScreen).width(screenWidth / cNumberOfTopBarItems).fill(); cContainer.add(cBackButton).fill(); cContainer.add(cSortBox).fill(); cContainer.add(cGroupsBox).fill(); cContainer.row(); cContainer.add(cScrollPane).colspan(cNumberOfTopBarItems).fill(); constructContents(screenWidth, screenHeight); return cContainer.debugAll(); }</code><technical_language>abc in a liner setItem</technical_language>

Target:
protected WidgetGroup createWidgetGroup() { final int screenWidth = Gdx.graphics.getWidth(); final int screenHeight = Gdx.graphics.getHeight(); cDrawer = new CollectibleDrawer(); cContainer = new Table(); cContainer.setFillParent(true); cBackButton = cGameSkin.generateDefaultMenuButton("Back"); cBackButton.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { ScreenStore.getInstance().setScreen("Home"); } }); cContentTable = new Table(); cContentTable.setWidth(screenWidth); cScrollPane = new ScrollPane(cContentTable); cScrollPane.setForceScroll(false, true); cSortBox = cGameSkin.generateDefaultSelectbox(); String[] def = new String[2]; def[0] = "Sort_Rarity"; def[1] = "<Insert Sort Object>"; cSortBox.setItems(def); cSortBox.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { System.out.println("Selected Sorting: " + cSortBox.getSelected()); } }); cGroupsBox = cGameSkin.generateDefaultSelectbox(); String[] abc = new String[3]; abc[0] = "My Collection"; abc[1] = "Group_1"; abc[2] = "Group_2"; cGroupsBox.setItems(abc); cGroupsBox.addListener(new ChangeListener() { @Override public void changed(final ChangeEvent event, final Actor actor) { System.out.println("Selected Collection: " + cGroupsBox.getSelected()); } }); cContainer.row().height(screenHeight / cItemsOnScreen).width(screenWidth / cNumberOfTopBarItems).fill(); cContainer.add(cBackButton).fill(); cContainer.add(cSortBox).fill(); cContainer.add(cGroupsBox).fill(); cContainer.row(); cContainer.add(cScrollPane).colspan(cNumberOfTopBarItems).fill(); constructContents(screenWidth, screenHeight); return cContainer; }