Changeset 16435 in josm for trunk/src/org
- Timestamp:
- 2020-05-17T10:02:34+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NoteInputDialog.java
r12280 r16435 5 5 6 6 import java.awt.Component; 7 import java.awt.Dimension; 7 8 8 9 import javax.swing.BoxLayout; … … 12 13 import javax.swing.JScrollPane; 13 14 15 import org.openstreetmap.josm.gui.util.WindowGeometry; 14 16 import org.openstreetmap.josm.gui.widgets.JosmTextArea; 15 17 import org.openstreetmap.josm.tools.ImageProvider; … … 33 35 public NoteInputDialog(Component parent, String title, String buttonText) { 34 36 super(parent, title, buttonText, tr("Cancel")); 37 setRememberWindowGeometry(getClass().getName() + ".geometry", 38 WindowGeometry.centerInWindow(MainApplication.getMainFrame(), new Dimension(400, 300))); 35 39 } 36 40
Note:
See TracChangeset
for help on using the changeset viewer.