private void setLayout() { 
		JPanel contentPane = new JPanel(new BorderLayout());
		JPanel pageStart = new JPanel(new GridBagLayout());
		JPanel pageCenter = new JPanel(new GridBagLayout());
		JPanel pageEnd = new JPanel(new GridBagLayout());
		JPanel lineEnd = new JPanel();
		//---------------------------------------------------
		GridBagConstraints c;
		c = new GridBagConstraints();
		c.gridx = 0;
		c.gridy = 0;
		c.weightx = 1.0;
		c.gridwidth = 2;
		c.fill = GridBagConstraints.BOTH;
		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 JLabel("Type:  "), c);
		c.gridx++;
		pageStart.add(type, c);
		//------------------------------------
		c.gridx = 0;
		c.gridy = 0;
		c.gridwidth = 2;
		pageCenter.add(new JLabel("Bonus:"), c);
		c.gridy++;
		JScrollPane bonusScroll = new JScrollPane(bonusTable);
		bonusScroll.setPreferredSize(new Dimension(300, 100));
		pageCenter.add(bonusScroll, c);
		JPanel bonusButtons = new JPanel();
		bonusButtons.add(bonusAdd);
		bonusButtons.add(bonusRemove);
		c.gridy++;
		pageCenter.add(bonusButtons, c);
		c.gridy++;
		pageCenter.add(new JLabel("Skills:"), c);
		JScrollPane skillsScroll = new JScrollPane(skillTable);
		skillsScroll.setPreferredSize(new Dimension(300, 100));
		c.gridy++;
		pageCenter.add(skillsScroll, c);
		JPanel skillsButtons = new JPanel();
		skillsButtons.add(skillAdd);
		skillsButtons.add(skillRemove);
		c.gridy++;
		pageCenter.add(skillsButtons, c);
		c.gridx = 0;
		c.gridy = 0;
		pageEnd.add(new JLabel("Items:"), c);
		c.gridy++;
		tabbedList = new JTabbedPane();
		for (ItemType type : ItemType.values()) {
			tabbedList.addTab(type.toString(), listItems[type.ordinal()]);
		}
		JScrollPane tabbedScroll = new JScrollPane(tabbedList);
		tabbedScroll.setPreferredSize(new Dimension(300, 200));
		pageEnd.add(tabbedScroll, c);
		c.gridy++;
		JPanel buttonsList = new JPanel();
		buttonsList.add(newItem);
		buttonsList.add(removeItem);
		pageEnd.add(buttonsList, c);
		//---------------------------------
		contentPane.add(pageStart, BorderLayout.LINE_START);
		contentPane.add(pageCenter, BorderLayout.CENTER);
		contentPane.add(pageEnd, BorderLayout.LINE_END);
		lineEnd.add(copyDescription);
		lineEnd.add(copyBuy);
		lineEnd.add(save);
		contentPane.add(lineEnd, BorderLayout.PAGE_END);
		BoxLayout layout = new BoxLayout(this, BoxLayout.PAGE_AXIS);
		setLayout(layout);
		add(contentPane);
	}