public Display() throws IOException {
		setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		this.contentPane = new JPanel();
		this.contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		this.contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(this.contentPane);

		this.lock = new ReentrantLock();
		this.flyPosition = new int[2];
		this.img = ImageIO.read(new File("." + File.separator + "fliege.jpg"));

		this.addWindowListener(new WindowAdapter() {
			@Override
			public void windowClosing(WindowEvent e) {
				Display.this.client.shutdown();
			}
		});

		add(generateLeftPane(), BorderLayout.WEST);
		add(generateMainPane(), BorderLayout.CENTER);
	}