import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
public class taquilla implements Runnable {
public taquilla() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// TODO Auto-generated method stub
}
@Override
public void run() {
JLabel taquillero = new JLabel("");
Image img= new ImageIcon("Taquillero.png").getImage();
ImageIcon img2=new ImageIcon(img.getScaledInstance(200, 100, Image.SCALE_SMOOTH));
taquillero.setIcon(img2);
taquillero.setBounds(100,10,30,30);
taquillero.setSize(taquillero.getPreferredSize());
simulador.ventanasim.add(taquillero);
}
}