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 | |
---|
1 | package org.openstreetmap.josm.tools;
|
---|
2 |
|
---|
3 | import java.util.Comparator;
|
---|
4 |
|
---|
5 | import javax.swing.JMenuItem;
|
---|
6 |
|
---|
7 | public 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.