Fix compilation problems

This commit is contained in:
Victor Shcherb 2011-05-04 13:22:18 +02:00
parent 9c860bf180
commit 6674857122
9 changed files with 3072 additions and 3072 deletions

View file

@ -154,11 +154,11 @@ public class DataExtractionSettings {
}
public String getCityAdminLevel(){
return preferences.getString("cityAdminLevel", "8");
return preferences.get("cityAdminLevel", "8");
}
public void setCityAdminLevel(String s){
preferences.putString("cityAdminLevel", s);
preferences.put("cityAdminLevel", s);
}
public boolean isSupressWarningsForDuplicatedId(){

View file

@ -123,9 +123,9 @@ public class OsmExtractionPreferencesDialog extends JDialog {
label = new JLabel("City admin level : ");
panel.add(label);
constr = new GridBagConstraints();
constr.ipadx = 6;
constr.ipadx = 5;
constr.gridx = 0;
constr.gridy = 1;
constr.gridy = 2;
constr.anchor = GridBagConstraints.WEST;
l.setConstraints(label, constr);
@ -136,9 +136,9 @@ public class OsmExtractionPreferencesDialog extends JDialog {
constr = new GridBagConstraints();
constr.weightx = 1;
constr.fill = GridBagConstraints.HORIZONTAL;
constr.ipadx = 6;
constr.ipadx = 5;
constr.gridx = 1;
constr.gridy = 1;
constr.gridy = 2;
l.setConstraints(cityAdminLevel, constr);
// supressWarning = new JCheckBox();