String[] strsNamesExisting = GfrWrpBasTopSynEclSpns.getInstance().getSortedNamesTlo();
for (int i = 0; i < lst.size(); i++)
{
GfrObjectNamGeometry objPntIdCur = lst.get(i);
if (super._blnCanceled)
{
super._blnDoneJob = true;
return;
}
// ---
if (blnShowProgressItems)
{
int intPercentItems = intCountItems * 100 / intTotalItems / 3;
super._lblItems.setText("Processing pointsets, " + intPercentItems + "% done");
super._pbrItems.setValue(intPercentItems);
intCountItems++;
}
else
{
super._lblItems.setText("Processing pointset, please wait ...");
}
// ---
strsUrl[i] = "";
strsDescription[i] = "";
String strNameCur = objPntIdCur.getNameUnique();
String strNameCurCandidate = strNameCur;
String[] strsNamesExistingAndCurs = new String[strsNamesExisting.length + i];
for (int j = 0; j < strsNamesExisting.length; j++)
{
strsNamesExistingAndCurs[j] = strsNamesExisting[j];
}
for (int j = 0; j < i; j++)
{
strsNamesExistingAndCurs[strsNamesExisting.length + j] = strsLabel[j];
}
if (GfrUtlString.s_contains(strsNamesExistingAndCurs, strNameCur))
strNameCurCandidate = GfrUtlString.s_createUniqueNameByNumber(strsNamesExistingAndCurs, strNameCur);
strsLabel[i] = strNameCurCandidate;
ArrayList<Point2D.Double> altP2d = objPntIdCur.getGeometry();
Point2D.Double p2ds[] = new Point2D.Double[altP2d.size()];
for (int j = 0; j < altP2d.size(); j++)
{