diff --git a/de.lang b/de.lang new file mode 100644 index 0000000..f9c6b21 Binary files /dev/null and b/de.lang differ diff --git a/en.lang b/en.lang new file mode 100644 index 0000000..04ac7d0 Binary files /dev/null and b/en.lang differ diff --git a/ja.lang b/ja.lang new file mode 100644 index 0000000..14bea40 Binary files /dev/null and b/ja.lang differ diff --git a/nl.lang b/nl.lang new file mode 100644 index 0000000..9fd748a Binary files /dev/null and b/nl.lang differ diff --git a/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java b/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java index e2988b0..f0fcf7e 100644 --- a/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java +++ b/src/nl/jeroenhoek/josm/gridify/ui/GridifySettingsDialog.java @@ -7,7 +7,7 @@ import org.openstreetmap.josm.gui.ExtendedDialog; import org.openstreetmap.josm.gui.MainApplication; -import javax.swing.JLabel; +import javax.swing.*; import java.awt.Dimension; import static org.openstreetmap.josm.tools.I18n.tr; @@ -41,9 +41,9 @@ public void setupDialog() { //Preview preview = new Preview(inputData.getGridExtrema(), this); // JLabel preview = new JLabel("Preview"); -// JPanel rootPanel = new JPanel(); -// setMinimumSize(new Dimension(550, 360)); -// rootPanel.setLayout(new BoxLayout(rootPanel, BoxLayout.X_AXIS)); + JPanel rootPanel = new JPanel(); + setMinimumSize(new Dimension(550, 360)); + rootPanel.setLayout(new BoxLayout(rootPanel, BoxLayout.X_AXIS)); // JPanel controlPanel = new JPanel(); // controlPanel.setLayout(new GridBagLayout()); @@ -99,12 +99,12 @@ public void setupDialog() { // controlPanel.add(sourceWayPanel, constraints); // } -// rootPanel.add(new JLabel("Test")); + rootPanel.add(new JLabel("Test-9")); // rootPanel.add(Box.createHorizontalGlue()); // // rootPanel.add(preview); - setContent(new JLabel("Test"), false); + setContent(rootPanel, false); setButtonIcons("ok.png", "cancel.png"); setDefaultButton(1);