mainWindow(){
		int i,j,r;
		JButton titleScreen=new JButton(new ImageIcon(getClass().getResource("TitleScreen.jpg")));
		this.ventana.setSize(700, 485);
		panel.setLayout(null);
		titleScreen.setBounds(0, 0, 700, 485);
		panel.add(titleScreen);
		titleScreen.addActionListener(this);
		this.ventana.getContentPane().add(panel);
		this.ventana.setVisible(true);
		while(vulaux){
			try{
				sleep(200);
			}catch(InterruptedException e){
				System.out.println("got interrupted!");
			}}
		ventana.remove(panel);
		panel=new JPanel();
		panel.setLayout(null);
		
		
		Random generador = new Random();
		for(i=0;i<15;i++){
			for(j=0;j<15;j++){
				r=generador.nextInt(99)+1;
				if(r<=5){
					buttonMatrix[i][j]=comodinCreator.crearBloque();
					buttonMatrix[i][j].boton.setBounds(i*30, j*30, 25, 25);
					this.panel.add(buttonMatrix[i][j].boton);
					buttonMatrix[i][j].boton.addActionListener(this);
				}
				else{
					buttonMatrix[i][j]=colorCreator.crearBloque();
					buttonMatrix[i][j].boton.setBounds(i*30, j*30, 25, 25);
					this.panel.add(buttonMatrix[i][j].boton);
					buttonMatrix[i][j].boton.addActionListener(this);
				}
				
			}
			
		
		}
		this.ventana.getContentPane().add(panel);
		this.ventana.setVisible(true);
		
		
		destruccion();
	}