Revision 41304
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/gui/preferencespage/CartographicSupportPage.java | ||
---|---|---|
98 | 98 |
if (val_obj != null) { |
99 | 99 |
val = ((Integer) val_obj).intValue(); |
100 | 100 |
cmbUnits.setSelectedUnitIndex(val); |
101 |
} else { |
|
102 |
ApplicationLocator.getManager().message( |
|
103 |
Messages.getText("_Persistence_error"), |
|
104 |
JOptionPane.ERROR_MESSAGE); |
|
105 |
} |
|
106 |
|
|
101 |
} |
|
102 |
|
|
107 | 103 |
val_obj = props.getDynValue(CartographicSupportPage.DefaultUnitReferenceSystemKey); |
108 | 104 |
if (val_obj != null) { |
109 | 105 |
val = ((Integer) val_obj).intValue(); |
110 | 106 |
cmbReferenceSystem.setSelectedIndex(val); |
111 |
} else { |
|
112 |
ApplicationLocator.getManager().message( |
|
113 |
Messages.getText("_Persistence_error"), |
|
114 |
JOptionPane.ERROR_MESSAGE); |
|
115 | 107 |
} |
116 | 108 |
} |
117 | 109 |
|
Also available in: Unified diff