Ver Mensaje Individual
  #2 (permalink)  
Antiguo 25/03/2013, 03:50
Avatar de chuidiang
chuidiang
Colaborador
 
Fecha de Ingreso: octubre-2004
Mensajes: 3.774
Antigüedad: 20 años, 5 meses
Puntos: 454
Respuesta: Almacenar ImageIcons en un array

Código java:
Ver original
  1. ArrayList<ImageIcon> iconos = new ArrayList<ImageIcon>();
  2. iconos.add(new ImageIcon("/path/icono.gif");
  3. iconos.add(new ImageIcon("/path/icono.png");
  4. iconos.add(new ImageIcon("/path/icono.jpg");

Se bueno.
__________________
Apuntes Java
Wiki de Programación