private void addTable() {
		tableModel = new DefaultTableModel(new String[] { "nazwa", 
				"punkty", "czas zakończenia" }, 0);

		table = new JTable(tableModel);

		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() {
							//UserDetailsView.getUserDetailsViewInstance((String) tableModel
							//		.getValueAt(rowNum, 0), null);
						}

					});
				}
			}
		});

		table.setBounds(74, 12, 312, 154);
		contentPane.setLayout(new BorderLayout());
		contentPane.add(table.getTableHeader(), BorderLayout.NORTH);
		contentPane.add(table, BorderLayout.CENTER);
	}