Changeset 5886 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/advanced/ListListEditor.java
- Timestamp:
- 2013-04-19T22:21:57+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/ListListEditor.java
r4634 r5886 19 19 import javax.swing.JScrollPane; 20 20 import javax.swing.JTable; 21 import javax.swing.JTextField;22 21 import javax.swing.JToolBar; 23 22 import javax.swing.event.ListSelectionEvent; 24 23 import javax.swing.event.ListSelectionListener; 24 import javax.swing.table.AbstractTableModel; 25 25 import javax.swing.table.TableCellEditor; 26 import javax.swing.table.AbstractTableModel;27 26 28 27 import org.openstreetmap.josm.data.Preferences.ListListSetting; … … 30 29 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 31 30 import org.openstreetmap.josm.gui.preferences.advanced.AdvancedPreference.PrefEntry; 31 import org.openstreetmap.josm.gui.widgets.JosmTextField; 32 32 import org.openstreetmap.josm.tools.GBC; 33 33 import org.openstreetmap.josm.tools.ImageProvider; … … 95 95 table.setTableHeader(null); 96 96 97 DefaultCellEditor editor = new DefaultCellEditor(new J TextField());97 DefaultCellEditor editor = new DefaultCellEditor(new JosmTextField()); 98 98 editor.setClickCountToStart(1); 99 99 table.setDefaultEditor(table.getColumnClass(0), editor);
Note:
See TracChangeset
for help on using the changeset viewer.