import java.awt.*;
import javax.swing.*;
/*
 * Created by JFormDesigner on Tue Apr 28 10:24:25 BRT 2009
 */



/**
 * @author guilherme senger
 */
public class Main_Interface extends JFrame {
	public Main_Interface() {
		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();
		novo = new JMenuItem();
		menu2 = new JMenu();
		abrir_localmente = new JMenuItem();
		abrir_database = new JMenuItem();
		menu3 = new JMenu();
		salvar_arquivo = new JMenuItem();
		salvar_database = new JMenuItem();
		gerar_step = new JMenuItem();
		menu4 = new JMenu();
		help_coordinates = new JMenuItem();
		scrollPane1 = new JScrollPane();
		txt_step = new JTextArea();
		label3 = new JLabel();
		label4 = new JLabel();
		label5 = new JLabel();
		coordenada_x = new JTextField();
		coordenada_y = new JTextField();
		coordenada_z = new JTextField();
		ok = new JButton();
		adicionar_coordenada = new JButton();

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

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

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

				//---- novo ----
				novo.setText("Novo");
				menu1.add(novo);

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

					//---- abrir_localmente ----
					abrir_localmente.setText("Localmente");
					menu2.add(abrir_localmente);

					//---- abrir_database ----
					abrir_database.setText("Banco de Dados");
					menu2.add(abrir_database);
				}
				menu1.add(menu2);

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

					//---- salvar_arquivo ----
					salvar_arquivo.setText("Arquivo");
					menu3.add(salvar_arquivo);

					//---- salvar_database ----
					salvar_database.setText("Banco de Dados");
					menu3.add(salvar_database);
				}
				menu1.add(menu3);

				//---- gerar_step ----
				gerar_step.setText("Gerar Arquivo STEP");
				menu1.add(gerar_step);
			}
			menuBar1.add(menu1);

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

				//---- help_coordinates ----
				help_coordinates.setText("Coordenadas");
				menu4.add(help_coordinates);
			}
			menuBar1.add(menu4);
		}
		setJMenuBar(menuBar1);

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

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

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

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

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

		//---- adicionar_coordenada ----
		adicionar_coordenada.setText("Adicionar Coordenada");

		GroupLayout contentPaneLayout = new GroupLayout(contentPane);
		contentPane.setLayout(contentPaneLayout);
		contentPaneLayout.setHorizontalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addComponent(label3)
						.addComponent(label4)
						.addComponent(label5))
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.LEADING, false)
						.addComponent(ok, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
						.addComponent(coordenada_z)
						.addComponent(coordenada_y, GroupLayout.Alignment.TRAILING)
						.addComponent(coordenada_x, GroupLayout.Alignment.TRAILING, GroupLayout.DEFAULT_SIZE, 99, Short.MAX_VALUE)
						.addComponent(adicionar_coordenada, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
					.addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 373, GroupLayout.PREFERRED_SIZE)
					.addContainerGap())
		);
		contentPaneLayout.setVerticalGroup(
			contentPaneLayout.createParallelGroup()
				.addGroup(contentPaneLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(contentPaneLayout.createParallelGroup()
						.addComponent(scrollPane1, GroupLayout.DEFAULT_SIZE, 312, Short.MAX_VALUE)
						.addGroup(contentPaneLayout.createSequentialGroup()
							.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(label3)
								.addComponent(coordenada_x, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
								.addComponent(label4)
								.addComponent(coordenada_y, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addGroup(contentPaneLayout.createParallelGroup()
								.addComponent(label5)
								.addComponent(coordenada_z, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 179, Short.MAX_VALUE)
							.addComponent(adicionar_coordenada)
							.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
							.addComponent(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 novo;
	private JMenu menu2;
	public JMenuItem abrir_localmente;
	public JMenuItem abrir_database;
	private JMenu menu3;
	public JMenuItem salvar_arquivo;
	public JMenuItem salvar_database;
	public JMenuItem gerar_step;
	private JMenu menu4;
	public JMenuItem help_coordinates;
	private JScrollPane scrollPane1;
	public JTextArea txt_step;
	private JLabel label3;
	private JLabel label4;
	private JLabel label5;
	public JTextField coordenada_x;
	public JTextField coordenada_y;
	public JTextField coordenada_z;
	public JButton ok;
	public JButton adicionar_coordenada;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
