private void drawSubmitIdeaForm() {
		panel.removeAll(); 
		frame.setBounds(400, 300, 200, 365);
		final JFileChooser fc = new JFileChooser();
		JButton openButton = new JButton("Choose a File...");
		final JTextField chosenFileTxtField = new JTextField("");
		openButton.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent e) {
				int returnVal = fc.showOpenDialog(panel);
				if (returnVal == JFileChooser.APPROVE_OPTION) {
					file = fc.getSelectedFile();
					if(file != null) {
						chosenFileTxtField.setText(file.getName());
					}
				}
			}
				
		});
		
		JLabel fromIdLabel = new JLabel("Connect to topic/idea id:");
		JLabel titleLabel = new JLabel("Title");
		JLabel txtLabel = new JLabel("Text");
		JLabel chosenFileLabel = new JLabel("Chosen file:");
		JLabel priceLabel = new JLabel("Price (DEIcoins):");
		final JTextField titleTxtField = new JTextField(10);
		final JTextField fromIdTxtField = new JTextField(10);
		final JTextArea textArea = new JTextArea();
		final JTextField priceTxtField = new JTextField(10);
		priceTxtField.setText("1000");
		JButton submitIdeaBtn = new JButton("Save");
		final JRadioButton rdbtnFor = new JRadioButton("For");
		final JRadioButton rdbtnAgainst = new JRadioButton("Against");
		final JRadioButton rdbtnNeutral = new JRadioButton("Neutral");
		ButtonGroup bg = new ButtonGroup();
		bg.add(rdbtnAgainst);
		bg.add(rdbtnFor);
		bg.add(rdbtnNeutral);
		rdbtnNeutral.setSelected(true);
		
		chosenFileTxtField.setEnabled(false);
		
		JButton backBtn = new JButton("<-Back");
		
		//akcja dla backBtn
		backBtn.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent arg0) {
				drawMenuForm();
			}
		});
		
		//akcja dla submitIdeaBtn
		submitIdeaBtn.addActionListener(new ActionListener() {
			
			@Override
			public void actionPerformed(ActionEvent arg0) {
				int fromId = Integer.parseInt(fromIdTxtField.getText());		
				boolean _for = rdbtnFor.isSelected();
				boolean _against = rdbtnAgainst.isSelected();
				int chosen = 0;
				if(_for) {
					chosen = 0;
				} else if (_against) {
					chosen = 1;
				} else {
					chosen = 2;
				}
				IdeaManagerLogic iml = new IdeaManagerLogic();
				int newIdeaId = iml.AddIdea(0, false, titleTxtField.getText(), userId, 
						new Date().toString(), textArea.getText(), fromId, chosen, Integer.parseInt(priceTxtField.getText()), file == null ? false : true, file);
				JOptionPane.showMessageDialog(null, "Idea saved! Idea id = " + newIdeaId);
				drawMenuForm();
			}
		});
		
		panel.add(fromIdLabel);
		panel.add(fromIdTxtField);
		panel.add(titleLabel);
		panel.add(titleTxtField);
		panel.add(txtLabel);
		panel.add(textArea);
		panel.add(rdbtnFor);
		panel.add(rdbtnAgainst);
		panel.add(rdbtnNeutral);
		panel.add(openButton);
		panel.add(chosenFileLabel);
		panel.add(chosenFileTxtField);
		panel.add(priceLabel);
		panel.add(priceTxtField);
		panel.add(submitIdeaBtn);
		panel.add(backBtn);
		
		panel.updateUI();
	}