Changeset 20956 in osm for applications/editors/josm
- Timestamp:
- 2010-04-21T19:32:43+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
r19658 r20956 29 29 import javax.swing.JTextArea; 30 30 import javax.swing.JTextField; 31 import javax.swing.SwingUtilities; 31 32 32 33 import org.openstreetmap.josm.Main; … … 100 101 this.setTitle(tr("Terrace a house")); 101 102 getJContentPane(); 103 SwingUtilities.invokeLater(new Runnable() { public void run() { lo.requestFocus(); } } ); 102 104 this.pack(); 103 105 this.setLocationRelativeTo(Main.parent); … … 125 127 jContentPane.add(getInputPanel(), jContentPane); 126 128 jContentPane.add(getButtonPanel(), jContentPane); 127 128 129 } 129 130 return jContentPane; … … 143 144 streetLabel = new JLabel(); 144 145 streetLabel.setText(tr("Street")); 145 hiLabel = new JLabel();146 hiLabel.setText(tr("Highest Number"));147 146 loLabel = new JLabel(); 148 147 loLabel.setText(tr("Lowest Number")); 149 148 loLabel.setPreferredSize(new Dimension(111, 16)); 150 149 loLabel.setToolTipText(tr("Lowest housenumber of the terraced house")); 150 hiLabel = new JLabel(); 151 hiLabel.setText(tr("Highest Number")); 151 152 final String txt = relationExists ? tr("add to existing associatedStreet relation") : tr("create an associatedStreet relation"); 152 153 handleRelationCheckBox = new JCheckBox(txt, Main.pref.getBoolean(HANDLE_RELATION, true)); … … 199 200 lo = new JTextField(); 200 201 lo.setText(""); 202 lo.requestFocus(); 201 203 } 202 204 return lo;
Note:
See TracChangeset
for help on using the changeset viewer.