import java.awt.*;
import javax.swing.*;
/*
 * Created by JFormDesigner on Mon Apr 27 13:26:52 BRT 2009
 */



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

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		// Generated using JFormDesigner Evaluation license - guilherme senger
		menuBar1 = new JMenuBar();
		menu1 = new JMenu();
		vetor_adicionar = new JMenuItem();
		menu2 = new JMenu();
		vetor_ajuda = new JMenuItem();
		menuItem1 = new JMenuItem();
		label1 = new JLabel();
		vetor_direcao = new JButton();
		label2 = new JLabel();
		vetor_mag = new JTextField();
		vetor_ok = new JButton();

		//======== this ========
		setTitle("Vetor");
		Container contentPane = getContentPane();

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

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

				//---- vetor_adicionar ----
				vetor_adicionar.setText("Adicionar vetor");
				menu1.add(vetor_adicionar);
			}
			menuBar1.add(menu1);

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

				//---- vetor_ajuda ----
				vetor_ajuda.setText("Sobre o Programa");
				menu2.add(vetor_ajuda);
			}
			menuBar1.add(menu2);
			menuBar1.add(menuItem1);
		}
		setJMenuBar(menuBar1);

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

		//---- vetor_direcao ----
		vetor_direcao.setText("Adicionar Dire\u00e7\u00e3o");

		//---- label2 ----
		label2.setText("Entre com a magnitude:");

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

		GroupLayout contentPaneLayout = new GroupLayout(contentPane);
		contentPane.setLayout(contentPaneLayout);
		contentPaneLayout.setHorizontalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addComponent(vetor_direcao, GroupLayout.PREFERRED_SIZE, 159, GroupLayout.PREFERRED_SIZE)
						.addComponent(label1, GroupLayout.PREFERRED_SIZE, 138, GroupLayout.PREFERRED_SIZE)
						.addComponent(label2, GroupLayout.PREFERRED_SIZE, 172, GroupLayout.PREFERRED_SIZE))
					.addContainerGap(208, Short.MAX_VALUE))
				.addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
					.addContainerGap(144, Short.MAX_VALUE)
					.addComponent(vetor_ok, GroupLayout.PREFERRED_SIZE, 117, GroupLayout.PREFERRED_SIZE)
					.addGap(131, 131, 131))
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(vetor_mag, GroupLayout.PREFERRED_SIZE, 136, GroupLayout.PREFERRED_SIZE)
					.addContainerGap(244, Short.MAX_VALUE))
		);
		contentPaneLayout.setVerticalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(label1)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					.addComponent(vetor_direcao)
					.addGap(24, 24, 24)
					.addComponent(label2)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					.addComponent(vetor_mag, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 75, Short.MAX_VALUE)
					.addComponent(vetor_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 JMenuBar menuBar1;
	private JMenu menu1;
	public JMenuItem vetor_adicionar;
	private JMenu menu2;
	public JMenuItem vetor_ajuda;
	private JMenuItem menuItem1;
	private JLabel label1;
	public JButton vetor_direcao;
	private JLabel label2;
	public JTextField vetor_mag;
	public JButton vetor_ok;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
