Einzelnen Beitrag anzeigen
Alt 07.11.2005, 22:12   #4
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

hast du das hier schon versucht:
Zitat:
// Select all the items
start = 0;
end = list.getModel().getSize()-1;
if (end >= 0) {
list.setSelectionInterval(start, end);
}
Quelle: http://javaalmanac.com/egs/javax.swi...Sel.html?l=rel

jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten