source: josm/trunk/src/org/openstreetmap/josm/tools/PresetTextComparator.java@ 1724

Last change on this file since 1724 was 1677, checked in by stoecker, 15 years ago

remove all these ugly tab stops introduced in the last half year

File size: 333 bytes
Line 
1package org.openstreetmap.josm.tools;
2
3import java.util.Comparator;
4
5import javax.swing.JMenuItem;
6
7public class PresetTextComparator implements Comparator<JMenuItem> {
8 //TODO add error checking and stuff
9 public int compare(JMenuItem arg0, JMenuItem arg1) {
10 return arg0.getText().compareTo(arg1.getText());
11 }
12
13
14}
Note: See TracBrowser for help on using the repository browser.