Revision 9116 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/PanelLegendBreaks.java
PanelLegendBreaks.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
import java.awt.BorderLayout; |
44 | 44 |
import java.awt.Color; |
45 |
import java.awt.Component; |
|
45 | 46 |
import java.awt.event.ActionEvent; |
46 | 47 |
import java.awt.event.ActionListener; |
47 | 48 |
import java.sql.Types; |
... | ... | |
399 | 400 |
} |
400 | 401 |
|
401 | 402 |
String fieldName = (String) cmbField.getSelectedItem(); |
403 |
if (fieldName==null) { |
|
404 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"no_hay_campo_seleccionado")); |
|
405 |
return; |
|
406 |
} |
|
402 | 407 |
System.out.println("Nombre del campo de clasificaci?n: " + |
403 | 408 |
fieldName); |
404 | 409 |
m_Renderer.setFieldName(fieldName); |
Also available in: Unified diff