|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.fr.design.chartx.component; |
|
|
|
package com.fr.design.chartx.component; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.Utils; |
|
|
|
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
@ -81,7 +80,7 @@ public class MatchAreaTable extends JTable { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
int index = areaNameIndex.get(areaName); |
|
|
|
int index = areaNameIndex.get(areaName); |
|
|
|
String result = ChartGEOJSONHelper.matchArea(Utils.objectToString(areaName), items); |
|
|
|
String result = ChartGEOJSONHelper.matchArea(GeneralUtils.objectToString(areaName), items); |
|
|
|
getColumnModel().getColumn(1).getCellEditor().stopCellEditing(); |
|
|
|
getColumnModel().getColumn(1).getCellEditor().stopCellEditing(); |
|
|
|
this.setValueAt(result, index, 1); |
|
|
|
this.setValueAt(result, index, 1); |
|
|
|
} |
|
|
|
} |
|
|
|