Revision 1850 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/legendmanager/panels/FPanelLegendValues.java
FPanelLegendValues.java | ||
---|---|---|
224 | 224 |
int idField = -1; |
225 | 225 |
String fieldName = (String) m_cboFields.getSelectedItem(); |
226 | 226 |
System.out.println("Nombre del campo: " + fieldName); |
227 |
idField = elRs.getFieldIndexByName(fieldName); |
|
227 |
idField = elRs.getFieldIndexByName(fieldName); |
|
228 |
if (idField == -1) |
|
229 |
{ |
|
230 |
System.err.println("Campo no reconocido " + fieldName); |
|
231 |
return; |
|
232 |
} |
|
233 |
|
|
228 | 234 |
m_Renderer.setFieldName(fieldName); |
229 | 235 |
long numReg = elRs.getRowCount(); |
230 | 236 |
|
231 |
if (idField == -1) |
|
232 |
{ |
|
233 |
System.err.println("Campo no reconocido " + fieldName); |
|
234 |
return; |
|
235 |
} |
|
236 | 237 |
|
237 | 238 |
m_symbolTable.removeAllItems(); |
238 | 239 |
int numSymbols = 0; |
Also available in: Unified diff