public class PointComparator implements Comparator<Point> {
public int compare (Point x, Point y) {
return x.getX() - y.getX(); // hier muss der richtige Zugriff auf die x-Koordinate hin
}
}
Nach Farben sortieren...
RTM80 28.11.2007 - 141 Hits - 7 Antworten
Excel; Sortieren; 2 Zellen in Verbindung setzen
detommy 19.05.2008 - 149 Hits - 1 Antwort
jComboBox aktualisieren
micha182 16.07.2008 - 204 Hits - 1 Antwort