public SectorView(InGame parent, Capital targetSector) {
		super();
		this.parent=parent;
		
		// Create listeners
		buttonWatch = new ButtonClick();
		
		sector=targetSector;
		sectorstr=sector.getType();
		setTitle("Sector View - " + sectorstr);
		
		// Description
		if (sectorstr.equals("Commercial")){
			setDescription("/main/resources/images/ComIcon.png", "<html>The Commercial sector provides jobs for your hardworking citizens, " +
					"and frivolous spending for your rich ones.</html>");
		}
		else if (sectorstr.equals("Residential")){
			setDescription("/main/resources/images/ResIcon.png", "<html>The Residential sector provides a place for your citizens to rest " +
					"their weary heads.</html>");
		}
		else if (sectorstr.equals("Industrial")){
			setDescription("/main/resources/images/IndIcon.png", "<html>The Industrial sector provides necessary jobs and produces the widgets " +
					"that power the modern economy.</html>");
		}
		else if (sectorstr.equals("Lumber")){
			setDescription("/main/resources/images/LumberIcon.png", "<html>What great empire could exist without lumber mills???</html>");
		}
		
		// Overlaid content
		overpanel = new JPanel();
		overpanel.setLayout(new OverlayLayout(overpanel));
		
		lines = new JPanel();
		lines.setOpaque(false);
		lines.setBorder(BorderFactory.createMatteBorder(1,0,1,0, Color.BLACK));
		lines.setMaximumSize(new Dimension(200,128));
		
		overpanel.add(lines);
		
		// Content
		setContentLayout(new GridLayout(1,2));
		addContent(overpanel);
		content1 = new JPanel();
		content2 = new JPanel();
		
		content1.setLayout(new GridBagLayout());
		content2.setLayout(new GridBagLayout());
		c = new GridBagConstraints();
		
		c.gridx = 0;
		c.weighty = 0.2;
		c.gridy = 0;
		c.anchor = GridBagConstraints.WEST;
		content1.add(new JLabel("Your empire has"), c);
		c.gridy = 1;
		content1.add(jla, c);
		c.gridy = 2;
		content1.add(jlb, c);
		c.gridy = 3;
		content1.add(jlc, c);
		c.gridy = 4;
		content1.add(new JLabel("Total Resources Generated:"), c);
		
		c.weightx = 0.5;
		c.anchor = GridBagConstraints.CENTER;
		c.gridy = 0;
		content2.add(new JPanel(), c);
		c.gridx = 1;
		content2.add(new JLabel("<html>Jobs</html>"), c);
		c.gridx = 2;
		content2.add(new JLabel("<html>Capital</html>"), c);
		c.gridx = 3;
		content2.add(new JLabel("<html>Oil</html>"), c);
		c.gridx = 4;
		content2.add(new JLabel("<html>Wood</html>"), c);
		c.gridy = 1;
		c.gridx = 0;
		content2.add(new JLabel("X"), c);
		c.gridx = 1;
		content2.add(jl1, c);
		c.gridx = 2;
		content2.add(jl2, c);
		c.gridx = 3;
		content2.add(jl3, c);
		c.gridx = 4;
		content2.add(jl4, c);
		c.gridy = 2;
		c.gridx = 0;
		content2.add(new JLabel("X"), c);
		c.gridx = 1;
		content2.add(jl5, c);
		c.gridx = 2;
		content2.add(jl6, c);
		c.gridx = 3;
		content2.add(jl7, c);
		c.gridx = 4;
		content2.add(jl8, c);
		c.gridy = 3;
		c.gridx = 0;
		content2.add(new JLabel("X"), c);
		c.gridx = 1;
		content2.add(jl9, c);
		c.gridx = 2;
		content2.add(jl10, c);
		c.gridx = 3;
		content2.add(jl11, c);
		c.gridx = 4;
		content2.add(jl12, c);
		c.gridy = 4;
		c.gridx = 0;
		content2.add(new JPanel(), c);
		c.gridx = 1;
		content2.add(jl13, c);
		c.gridx = 2;
		content2.add(jl14, c);
		c.gridx = 3;
		content2.add(jl15, c);
		c.gridx = 4;
		content2.add(jl16, c);
		
		overpanel.add(content2);
		
		addContent(content1);
		addContent(overpanel);
		
		// Buttons
		buysell = new JButton("Buy/Sell");
		buysell.addMouseListener(buttonWatch);
		close = new JButton("Close");
		close.addMouseListener(buttonWatch);
		
		addButton(buysell);
		addButton(close);
		
		refresh();
	}