package com.github.aureliano.edocs.app.gui.panel;

import java.awt.GridLayout;

import javax.swing.JPanel;

import com.github.aureliano.edocs.common.locale.EdocsLocale;

public class SaveDocumentPanel extends JPanel {

	private static final long serialVersionUID = 2728249172386578330L;

	private EdocsLocale locale;
	
	public SaveDocumentPanel() {
		this.locale = EdocsLocale.instance();
		this.buildGui();
	}

	private void buildGui() {
		super.setLayout(new GridLayout(3, 2));
	}
}
@@ -93,21 +93,139 @@
 .swing.J
-Panel
+ComboBox;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextArea;%0Aimport javax.swing.JTextField
 ;%0A%0Aimpor
@@ -430,16 +430,218 @@
 cale;%0A%09%0A
+%09private JTextField textFieldName;%0A%09private JComboBox%3CObject%3E comboBoxCategory;%0A%09private JTextArea textAreaDescription;%0A%09private JTextField textFieldDueDate;%0A%09private JComboBox%3CObject%3E comboBoxOwner;%0A%09%0A
 %09public 
@@ -752,16 +752,40 @@
 Gui() %7B%0A
+%09%09this.initializeGui();%0A
 %09%09super.
@@ -813,16 +813,644 @@
 out(
-3
+0
 , 2));%0A
+%09%09%0A%09%09super.add(new JLabel(%22Name%22));%0A%09%09super.add(this.textFieldName);%0A%09%09%0A%09%09super.add(new JLabel(%22Category%22));%0A%09%09super.add(this.comboBoxCategory);%0A%09%09%0A%09%09super.add(new JLabel(%22Description%22));%0A%09%09super.add(this.textAreaDescription);%0A%09%09%0A%09%09super.add(new JLabel(%22Due date%22));%0A%09%09super.add(this.textFieldDueDate);%0A%09%09%0A%09%09super.add(new JLabel(%22Owner%22));%0A%09%09super.add(this.comboBoxOwner);%0A%09%7D%0A%09%0A%09private void initializeGui() %7B%0A%09%09this.textFieldName = new JTextField();%0A%09%09this.comboBoxCategory = new JComboBox%3C%3E();%0A%09%09this.textAreaDescription = new JTextArea();%0A%09%09this.textFieldDueDate = new JTextField();%0A%09%09this.comboBoxOwner = new JComboBox%3C%3E();%0A
 %09%7D%0A%7D

Create save document panel.