Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/11/2014, 01:34
Avatar de Profesor_Falken
Profesor_Falken
 
Fecha de Ingreso: agosto-2014
Ubicación: Mountain View
Mensajes: 1.323
Antigüedad: 9 años, 9 meses
Puntos: 182
Respuesta: Guardar los elementos de un jlist

Código Java:
Ver original
  1. ListModel model = list.getModel();
  2.  
  3. for(int i=0; i < model.getSize(); i++){
  4.      Object o =  model.getElementAt(i);  
  5. }

Un saludo
__________________
If to err is human, then programmers are the most human of us