import java.awt.*;
import javax.swing.*;
/*
 * Created by JFormDesigner on Wed Apr 15 12:02:27 BRT 2009
 */



/**
 * @author guilherme senger
 */
public class Direction_visual extends JFrame {
	public Direction_visual() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - guilherme senger
		tabbedPane1 = new JTabbedPane();
		panel1 = new JPanel();
		menuBar1 = new JMenuBar();
		menu2 = new JMenu();
		direcao_gerar_step = new JMenuItem();
		menu3 = new JMenu();
		direcao_ajuda = new JMenuItem();
		label3 = new JLabel();
		label4 = new JLabel();
		label5 = new JLabel();
		direcao_y = new JTextField();
		direcao_x = new JTextField();
		direcao_z = new JTextField();
		direcao_adicionar = new JButton();
		direcao_ok = new JButton();
		direcao_retornar = new JButton();
		label1 = new JLabel();
		direcao_painel2 = new JPanel();
		menuBar2 = new JMenuBar();
		menu4 = new JMenu();
		direcao_novo = new JMenuItem();
		menu5 = new JMenu();
		direcao_abrir_localmente = new JMenuItem();
		menuItem6 = new JMenuItem();
		menu6 = new JMenu();
		direcao_salvar_localmente = new JMenuItem();
		menuItem8 = new JMenuItem();
		scrollPane1 = new JScrollPane();
		direcao_txt_step = new JTextArea();

		//======== this ========
		setTitle("Dire\u00e7\u00e3o");
		Container contentPane = getContentPane();
		contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.X_AXIS));

		//======== tabbedPane1 ========
		{

			//======== panel1 ========
			{

				// JFormDesigner evaluation mark
				panel1.setBorder(new javax.swing.border.CompoundBorder(
					new javax.swing.border.TitledBorder(new javax.swing.border.EmptyBorder(0, 0, 0, 0),
						"", javax.swing.border.TitledBorder.CENTER,
						javax.swing.border.TitledBorder.BOTTOM, new java.awt.Font("Dialog", java.awt.Font.BOLD, 12),
						java.awt.Color.red), panel1.getBorder())); panel1.addPropertyChangeListener(new java.beans.PropertyChangeListener(){public void propertyChange(java.beans.PropertyChangeEvent e){if("border".equals(e.getPropertyName()))throw new RuntimeException();}});


				//======== menuBar1 ========
				{

					//======== menu2 ========
					{
						menu2.setText("Op\u00e7\u00f5es");

						//---- direcao_gerar_step ----
						direcao_gerar_step.setText("Gerar Arquivo STEP");
						menu2.add(direcao_gerar_step);
					}
					menuBar1.add(menu2);

					//======== menu3 ========
					{
						menu3.setText("Ajuda");

						//---- direcao_ajuda ----
						direcao_ajuda.setText("Sobre o Programa");
						menu3.add(direcao_ajuda);
					}
					menuBar1.add(menu3);
				}

				//---- label3 ----
				label3.setText("X:");

				//---- label4 ----
				label4.setText("Y:");

				//---- label5 ----
				label5.setText("Z:");

				//---- direcao_adicionar ----
				direcao_adicionar.setText("Adicionar");

				//---- direcao_ok ----
				direcao_ok.setText("OK");

				//---- direcao_retornar ----
				direcao_retornar.setText("Retornar");

				//---- label1 ----
				label1.setText("Insira os valores para a dire\u00e7\u00e3o:");

				GroupLayout panel1Layout = new GroupLayout(panel1);
				panel1.setLayout(panel1Layout);
				panel1Layout.setHorizontalGroup(
					panel1Layout.createParallelGroup()
						.addComponent(menuBar1, GroupLayout.Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 387, Short.MAX_VALUE)
						.addGroup(GroupLayout.Alignment.TRAILING, panel1Layout.createSequentialGroup()
							.addContainerGap()
							.addComponent(direcao_adicionar, GroupLayout.DEFAULT_SIZE, 112, Short.MAX_VALUE)
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addComponent(direcao_ok, GroupLayout.PREFERRED_SIZE, 113, GroupLayout.PREFERRED_SIZE)
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addComponent(direcao_retornar, GroupLayout.PREFERRED_SIZE, 122, GroupLayout.PREFERRED_SIZE)
							.addGap(14, 14, 14))
						.addGroup(panel1Layout.createSequentialGroup()
							.addGap(77, 77, 77)
							.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.TRAILING)
								.addComponent(label4)
								.addComponent(label5)
								.addComponent(label3))
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addGroup(panel1Layout.createParallelGroup()
								.addComponent(label1, GroupLayout.PREFERRED_SIZE, 196, GroupLayout.PREFERRED_SIZE)
								.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.LEADING, false)
									.addComponent(direcao_y)
									.addComponent(direcao_z, GroupLayout.DEFAULT_SIZE, 187, Short.MAX_VALUE)
									.addComponent(direcao_x)))
							.addContainerGap(96, Short.MAX_VALUE))
				);
				panel1Layout.setVerticalGroup(
					panel1Layout.createParallelGroup()
						.addGroup(panel1Layout.createSequentialGroup()
							.addComponent(menuBar1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
							.addGap(18, 18, 18)
							.addComponent(label1)
							.addGap(12, 12, 12)
							.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(direcao_x, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
								.addComponent(label3))
							.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
							.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(direcao_y, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
								.addComponent(label4))
							.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
							.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(direcao_z, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
								.addComponent(label5))
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE)
							.addGroup(panel1Layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(direcao_retornar, GroupLayout.PREFERRED_SIZE, 26, GroupLayout.PREFERRED_SIZE)
								.addComponent(direcao_adicionar)
								.addComponent(direcao_ok))
							.addContainerGap())
				);
			}
			tabbedPane1.addTab("Inserir Dados", panel1);


			//======== direcao_painel2 ========
			{

				//======== menuBar2 ========
				{

					//======== menu4 ========
					{
						menu4.setText("Op\u00e7\u00f5es");

						//---- direcao_novo ----
						direcao_novo.setText("Novo");
						menu4.add(direcao_novo);

						//======== menu5 ========
						{
							menu5.setText("Abrir");

							//---- direcao_abrir_localmente ----
							direcao_abrir_localmente.setText("Localmente");
							menu5.add(direcao_abrir_localmente);

							//---- menuItem6 ----
							menuItem6.setText("Banco de Dados");
							menuItem6.setEnabled(false);
							menu5.add(menuItem6);
						}
						menu4.add(menu5);

						//======== menu6 ========
						{
							menu6.setText("Salvar");

							//---- direcao_salvar_localmente ----
							direcao_salvar_localmente.setText("Localmente");
							menu6.add(direcao_salvar_localmente);

							//---- menuItem8 ----
							menuItem8.setText("Banco de Dados");
							menuItem8.setEnabled(false);
							menu6.add(menuItem8);
						}
						menu4.add(menu6);
					}
					menuBar2.add(menu4);
				}

				//======== scrollPane1 ========
				{
					scrollPane1.setViewportView(direcao_txt_step);
				}

				GroupLayout direcao_painel2Layout = new GroupLayout(direcao_painel2);
				direcao_painel2.setLayout(direcao_painel2Layout);
				direcao_painel2Layout.setHorizontalGroup(
					direcao_painel2Layout.createParallelGroup()
						.addComponent(menuBar2, GroupLayout.DEFAULT_SIZE, 387, Short.MAX_VALUE)
						.addComponent(scrollPane1, GroupLayout.DEFAULT_SIZE, 387, Short.MAX_VALUE)
				);
				direcao_painel2Layout.setVerticalGroup(
					direcao_painel2Layout.createParallelGroup()
						.addGroup(direcao_painel2Layout.createSequentialGroup()
							.addComponent(menuBar2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
							.addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 208, GroupLayout.PREFERRED_SIZE))
				);
			}
			tabbedPane1.addTab("Parte 21", direcao_painel2);

		}
		contentPane.add(tabbedPane1);
		pack();
		setLocationRelativeTo(getOwner());
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	// Generated using JFormDesigner Evaluation license - guilherme senger
	private JTabbedPane tabbedPane1;
	private JPanel panel1;
	private JMenuBar menuBar1;
	private JMenu menu2;
	public JMenuItem direcao_gerar_step;
	private JMenu menu3;
	public JMenuItem direcao_ajuda;
	private JLabel label3;
	private JLabel label4;
	private JLabel label5;
	public JTextField direcao_y;
	public JTextField direcao_x;
	public JTextField direcao_z;
	public JButton direcao_adicionar;
	public JButton direcao_ok;
	public JButton direcao_retornar;
	private JLabel label1;
	public JPanel direcao_painel2;
	private JMenuBar menuBar2;
	private JMenu menu4;
	public JMenuItem direcao_novo;
	private JMenu menu5;
	public JMenuItem direcao_abrir_localmente;
	private JMenuItem menuItem6;
	private JMenu menu6;
	public JMenuItem direcao_salvar_localmente;
	private JMenuItem menuItem8;
	private JScrollPane scrollPane1;
	public JTextArea direcao_txt_step;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
