Changeset 29379 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialog.java
- Timestamp:
- 2013-03-20T21:28:34+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialog.java
r29377 r29379 1 1 package iodb; 2 2 3 import java.awt.FlowLayout; 4 import java.awt.GridLayout; 5 import java.awt.Insets; 3 import java.awt.*; 6 4 import java.awt.event.ActionEvent; 7 5 import java.awt.event.ActionListener; 8 6 import java.awt.event.KeyEvent; 9 7 import java.util.*; 8 import java.util.List; 10 9 import javax.swing.*; 11 10 import javax.swing.border.CompoundBorder; 12 11 import javax.swing.border.EmptyBorder; 13 12 import org.openstreetmap.josm.Main; 13 import org.openstreetmap.josm.tools.GBC; 14 14 import static org.openstreetmap.josm.tools.I18n.tr; 15 15 … … 31 31 super(JOptionPane.getFrameForComponent(Main.parent), ImageryOffsetTools.DIALOG_TITLE, ModalityType.DOCUMENT_MODAL); 32 32 setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE); 33 setResizable(false); 33 // setResizable(false); 34 34 this.offsets = offsets; 35 35 … … 41 41 42 42 private void prepareDialog() { 43 Box dialog = new Box(BoxLayout.Y_AXIS);44 43 updateButtonPanel(); 45 44 final JCheckBox calibrationBox = new JCheckBox(tr("Calibration geometries")); … … 66 65 cancelButton.setAlignmentX(CENTER_ALIGNMENT); 67 66 67 Box dialog = new Box(BoxLayout.Y_AXIS); 68 68 dialog.add(buttonPanel); 69 69 dialog.add(checkBoxPanel); … … 92 92 buttonPanel.add(button); 93 93 } 94 // buttonPanel.setMinimumSize(buttonPanel.getPreferredSize());95 94 pack(); 96 95 }
Note:
See TracChangeset
for help on using the changeset viewer.