List<MapStyleBuilder> builders = BuilderManager.getAllMapStyleBuilders();
List<String> ids = new ArrayList<>();
for (MapStyleBuilder b : builders) {
ids.add(b.getId());
}
<BUG>int selIndex = ids.indexOf(ModelManager.getBattlefield().getMap().mapStyleID);
</BUG>
fillDropDown(DROPDOWN_STYLE_ID, ids, selIndex);
}
private void drawPencilPanel() {

List<MapStyleBuilder> builders = BuilderManager.getAllMapStyleBuilders();
List<String> ids = new ArrayList<>();
for (MapStyleBuilder b : builders) {
ids.add(b.getId());
}
int selIndex = ids.indexOf(ModelManager.getBattlefield().getMap().getMapStyleID());
fillDropDown(DROPDOWN_STYLE_ID, ids, selIndex);
}
private void drawPencilPanel() {
