Revision 9116 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/FPanelLegendValues.java
FPanelLegendValues.java | ||
---|---|---|
47 | 47 |
package com.iver.cit.gvsig.project.documents.view.legend.gui; |
48 | 48 |
|
49 | 49 |
import java.awt.BorderLayout; |
50 |
import java.awt.Component; |
|
50 | 51 |
import java.awt.Dimension; |
51 | 52 |
import java.awt.event.ActionEvent; |
52 | 53 |
import java.awt.event.ActionListener; |
... | ... | |
184 | 185 |
|
185 | 186 |
int idField = -1; |
186 | 187 |
String fieldName = (String) m_cboFields.getSelectedItem(); |
188 |
if (fieldName==null) { |
|
189 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"no_hay_campo_seleccionado")); |
|
190 |
return; |
|
191 |
} |
|
192 |
|
|
187 | 193 |
System.out.println("Nombre del campo: " + fieldName); |
188 | 194 |
idField = elRs.getFieldIndexByName(fieldName); |
189 | 195 |
m_Renderer.setFieldName(fieldName); |
... | ... | |
258 | 264 |
quitartodo.setEnabled(true); |
259 | 265 |
quitar.setEnabled(true); |
260 | 266 |
|
261 |
//m_bCacheDirty = false;
|
|
267 |
//m_bCacheDirty = false; |
|
262 | 268 |
} |
263 | 269 |
|
264 | 270 |
/** |
Also available in: Unified diff