Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/02/2011, 18:49
linkghost
 
Fecha de Ingreso: febrero-2011
Mensajes: 27
Antigüedad: 14 años
Puntos: 1
Respuesta: Meter imagenes en un Array

Código java:
Ver original
  1. public void paintComponent(Graphics g){
  2.     Dimension tamanio = getSize();
  3.     ImageIcon imagenFondo = new ImageIcon(getClass().getResource("/img/ELoKAIRARwWC.jpg"));
  4.     g.drawImage(imagenFondo.getImage(), 0, 0, tamanio.width = 40, tamanio.height = 40, null);
  5.     setOpaque(false);      
  6.     super.paintComponent(g);          
  7.    }

emh tu lo escribiste ya D:!