import java.awt.*;
import javax.swing.*;
/*
 * Created by JFormDesigner on Tue Apr 28 12:18:41 BRT 2009
 */



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

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - guilherme senger
		label1 = new JLabel();
		label2 = new JLabel();
		label3 = new JLabel();
		label4 = new JLabel();
		direcao_x = new JTextField();
		direcao_y = new JTextField();
		direcao_z = new JTextField();
		direcao_ok = new JButton();

		//======== this ========
		setTitle("Dire\u00e7\u00e3o");
		Container contentPane = getContentPane();

		//---- label1 ----
		label1.setText("Entre com os dados para a dire\u00e7\u00e3o:");

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

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

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

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

		GroupLayout contentPaneLayout = new GroupLayout(contentPane);
		contentPane.setLayout(contentPaneLayout);
		contentPaneLayout.setHorizontalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addGroup(contentPaneLayout.createSequentialGroup()
							.addGap(80, 80, 80)
							.addGroup(contentPaneLayout.createParallelGroup()
								.addComponent(label1, GroupLayout.PREFERRED_SIZE, 218, GroupLayout.PREFERRED_SIZE)
								.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING, false)
									.addGroup(GroupLayout.Alignment.LEADING, contentPaneLayout.createSequentialGroup()
										.addComponent(label4)
										.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
										.addComponent(direcao_z))
									.addGroup(GroupLayout.Alignment.LEADING, contentPaneLayout.createSequentialGroup()
										.addComponent(label3)
										.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
										.addComponent(direcao_y))
									.addGroup(GroupLayout.Alignment.LEADING, contentPaneLayout.createSequentialGroup()
										.addComponent(label2)
										.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
										.addComponent(direcao_x, GroupLayout.PREFERRED_SIZE, 176, GroupLayout.PREFERRED_SIZE)))))
						.addGroup(contentPaneLayout.createSequentialGroup()
							.addGap(142, 142, 142)
							.addComponent(direcao_ok, GroupLayout.PREFERRED_SIZE, 98, GroupLayout.PREFERRED_SIZE)))
					.addContainerGap(94, Short.MAX_VALUE))
		);
		contentPaneLayout.setVerticalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addGap(26, 26, 26)
					.addComponent(label1)
					.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
					.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						.addComponent(label2)
						.addComponent(direcao_x, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
					.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						.addComponent(label3)
						.addComponent(direcao_y, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
					.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						.addComponent(label4)
						.addComponent(direcao_z, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 86, Short.MAX_VALUE)
					.addComponent(direcao_ok)
					.addContainerGap())
		);
		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 JLabel label1;
	private JLabel label2;
	private JLabel label3;
	private JLabel label4;
	public JTextField direcao_x;
	public JTextField direcao_y;
	public JTextField direcao_z;
	public JButton direcao_ok;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
