package inutile;
import javax.swing.*;

import Controleurs.gestionFenetre;
import IHM.IHMPlateau;
import IHM.IHMproprietes;
public class testIHMmonopoly {
	public static void main(String[]args){
		JFrame f=new JFrame("Monopoly");
		f.setLayout(null);
		f.setSize(908,730);
		IHMPlateau plateau=new IHMPlateau();
		plateau.setSize(f.getHeight()-38, f.getHeight()-38);
		f.add(plateau);
		plateau.setLocation(0, 0);
		IHMproprietes prop=new IHMproprietes();
		prop.setSize(200,720);
		f.add(prop);
		prop.setLocation(f.getHeight()-38, 0);
		f.addWindowListener(new gestionFenetre());
		f.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
		f.setVisible(true);
	}
}
