private void setLayout() { 
		JPanel contentPane = new JPanel(new BorderLayout());
		JPanel pageStart = new JPanel(new GridBagLayout());
		JPanel pageEnd = new JPanel(new GridBagLayout());
		JPanel bottomPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
		GridBagConstraints c = new GridBagConstraints();
		c.gridx = 0;
		c.gridy = 0;
		c.weightx = 1.0;
		c.gridwidth = 4;
		c.fill = GridBagConstraints.BOTH;
		pageStart.add(new JLabel("Hero:"), c);
		c.gridy++;
		pageStart.add(hero, c);
		c.gridy++;
		pageStart.add(new JLabel("Name:"), c);
		c.gridy++;
		pageStart.add(name, c);
		c.gridy++;
		pageStart.add(new JLabel("Description:"), c);
		c.gridy++;
		pageStart.add(new JScrollPane(description), c);
		c.gridy++;
		c.gridwidth = 1;
		pageStart.add(new JLabel("Hotkey:  "), c);
		c.gridx++;
		pageStart.add(hotkey, c);
		c.gridy++;
		c.gridx = 0;
		pageStart.add(new JPanel(), c);
		c.gridy++;
		pageStart.add(new JLabel("Base range:"), c);
		c.gridx++;
		pageStart.add(baseRange, c);
		c.gridx++;
		pageStart.add(new JLabel("  Range factor:"), c);
		c.gridx++;
		pageStart.add(rangeFactor, c);
		c.gridx = 0;
		c.gridy++;
		pageStart.add(new JLabel("Base cooldown:"), c);
		c.gridx++;
		pageStart.add(baseCooldown, c);
		c.gridx++;
		pageStart.add(new JLabel("  Cooldown factor: "), c);
		c.gridx++;
		pageStart.add(cooldownFactor, c);
		c.gridx = 0;
		c.gridy++;
		pageStart.add(new JLabel("Area of Effect:"), c);
		c.gridx++;
		pageStart.add(areaOfEffect, c);
		c.gridx++;
		pageStart.add(new JLabel("  Type:"), c);
		c.gridx++;
		pageStart.add(AoEType, c);
		c.gridx = 0;
		c.gridy++;
		pageStart.add(new JPanel(), c);
		c.gridy++;
		c.gridwidth = 4;
		c.gridy++;
		JScrollPane damageScroll = new JScrollPane(damageTable);
		damageScroll.setPreferredSize(new Dimension(300, 45));
		pageStart.add(damageScroll, c);
		c.gridx = 0;
		c.gridy = 0;
		pageEnd.add(new JLabel("Skills:"), c);
		c.gridy++;
		pageEnd.add(search, c);
		c.gridy++;
		JScrollPane listScroll = new JScrollPane(skillList);
		listScroll.setPreferredSize(new Dimension(350, 200));
		pageEnd.add(listScroll, c);
		c.gridy++;
		JPanel buttonsPanel = new JPanel();
		buttonsPanel.add(newSkill);
		buttonsPanel.add(skillRemove);
		pageEnd.add(buttonsPanel, c);
		bottomPanel.add(generateLearn);
		bottomPanel.add(generateName);
		bottomPanel.add(generateDescription);
		bottomPanel.add(save);
		contentPane.add(pageStart, BorderLayout.LINE_START);
		contentPane.add(pageEnd, BorderLayout.LINE_END);
		contentPane.add(bottomPanel, BorderLayout.PAGE_END);
		add(contentPane);
	}