Revision 8916 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/AddLayer.java
AddLayer.java | ||
---|---|---|
154 | 154 |
return; |
155 | 155 |
} |
156 | 156 |
if (proj != viewPort.getProjection()) { |
157 |
int option = JOptionPane.showConfirmDialog(null, PluginServices
|
|
157 |
int option = JOptionPane.showConfirmDialog((Component)PluginServices.getMainFrame(), PluginServices
|
|
158 | 158 |
.getText(this, "reproyectar_aviso"), PluginServices |
159 | 159 |
.getText(this, "reproyectar_pregunta"), |
160 | 160 |
JOptionPane.YES_NO_OPTION); |
161 | 161 |
|
162 |
if (option == JOptionPane.NO_OPTION) {
|
|
162 |
if (option != JOptionPane.OK_OPTION) {
|
|
163 | 163 |
return; |
164 | 164 |
} else { |
165 | 165 |
ICoordTrans ct = proj.getCT(viewPort.getProjection()); |
Also available in: Unified diff