Browse Source

mapMapCustomPane refresh areaname list

master
fr_shine 8 years ago
parent
commit
e09047983f
  1. 7
      designer_chart/src/com/fr/design/chart/series/PlotSeries/MapCustomPane.java

7
designer_chart/src/com/fr/design/chart/series/PlotSeries/MapCustomPane.java

@ -166,8 +166,13 @@ refreshAreaNameBox();
}
List<String> columnNameList = tableDataWrappe.calculateColumnNameList();
Object oldSelected = areaString.getSelectedItem();
areaString.removeAllItems();
areaString.setItemList(columnNameList);
for(String item : columnNameList) {
areaString.addItem(item);
}
areaString.getModel().setSelectedItem(oldSelected);
}
/**

Loading…
Cancel
Save