private void prepareWindow()
			{
				this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
				
				this.addMouseListener(new SettlementActionWindowMouseListener());
				
				nameLabel.setText(settlement.getName());
				nameLabel.setForeground(COLOR_WHITE);
				nameLabel.setIcon(settlement.getImage());
				nameLabel.setFont(TIMES_BOLD_20);
				this.add(nameLabel);
					
				//this.add(new JLabel("   "));
				populationLabel.setText("Population:   " + settlement.getPopulation());
				this.add(populationLabel);
				
				this.add(new JLabel("   "));	
				warehouseSpaceLabel.setText("Available warehouse space: " + String.valueOf(settlement.getAvailableWarehouseSpace()));
				this.add(warehouseSpaceLabel);
				
				this.add(new JLabel("Warehouse content:"));
				this.add(new JLabel("Produced goods:"));
				for(Stock s : settlement.getWarehouseGoods().values())
				{
					JLabel hL = new JLabel(s.getType().getName() + ":   " + s.getVolume());
					goodsLabels.put(s.getType(), hL);
					this.add(hL);
				}
				
				
				
				this.add(stopProductionButton);
				if(productionVariable)
				{
					stopProductionButton.setText("stop production");
				}
				else
				{
					stopProductionButton.setText("resume production");
				}
				stopProductionButton.addActionListener(new ActionListener(){
					
					@Override
					public void actionPerformed(ActionEvent arg0) 
					{
						productionVariable = ! productionVariable;

						if(productionVariable)
						{
							stopProductionButton.setText("stop production");
							settlement.resumeProduction();
						}
						else
						{
							stopProductionButton.setText("resume production");
							settlement.stopProduction();
						}
					}
					
				});

				
				this.add(new JLabel(" "));
				this.add(new JLabel("Needed goods:"));
				for(Stock s : settlement.getNeededGoodsList().values())
				{
					JLabel nL = new JLabel(s.getType().getName() + ":   " + s.getVolume());
					goodsLabels.put(s.getType(), nL);
					this.add(nL);
				}
			}