private void addAnswersTable() {
		tablePanel = new JPanel();
		tableModel = new DefaultTableModel(
				new String[] { "Treść odpowiedzi" }, 0);

		tablePanel.setLayout(new BorderLayout());

		table = new JTable(tableModel);
		header = table.getTableHeader();

		// Moze bedzie kolumna JButtonow

		table.setBorder(new EtchedBorder(EtchedBorder.LOWERED, null, null));
		table.addMouseListener(new MouseAdapter() {
			public void mouseClicked(MouseEvent e) {
				if (e.getClickCount() == 1) {
					JTable target = (JTable) e.getSource();
					rowNum = target.getSelectedRow();
					colNum = target.getSelectedColumn();
					EventQueue.invokeLater(new Runnable() {

						@Override
						public void run() {

						}

					});
				}
			}
		});
		tablePanel.add(header, BorderLayout.NORTH);
		tablePanel.add(table, BorderLayout.CENTER);

		splitPane = new JPanel();
		tablePanel.add(splitPane, BorderLayout.SOUTH);

		tableScrollPane = new JScrollPane(tablePanel);
		tableScrollPane.setBounds(23, 286, 518, 203);
		add(tableScrollPane);

		btnUp.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				moveUp();
			}
		});

		btnDel.addActionListener(new ActionListener() {

			@Override
			public void actionPerformed(ActionEvent e) {
				if (tableModel.getRowCount() != 0 && rowNum >= 0) {
					tableModel.removeRow(rowNum);
				}
			}
		});

		btnAdd.setBounds(551, 309, 89, 23);
		btnDel.setBounds(551, 350, 89, 23);

		btnDown.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				moveDown();
			}
		});

		add(btnUp);
		add(btnDown);
		btnUp.setBounds(260, 500, 89, 23);
		btnDown.setBounds(160, 500, 89, 23);

		btnAdd.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				String tempAnswer = JOptionPane.showInputDialog(
						"Podaj odpowiedź", null);
				tableModel.addRow(new Object[] { tempAnswer });
			}
		});
		btnAdd.setBounds(551, 309, 89, 23);

		add(btnDel);
		add(btnAdd);
	}