Ajuda para faciliar a vida de criação de GUI

7 respostas
D

Gostaria de saber se tem alguma classe, tecnica ou framework para faciliar a vida de que constroi interfaces GUI Swing, uso JCreator então para organizar os componentes na tela usando o GridBagLayout e GridBagConstraints é muito trabalhoso e acho que seria ate mais facil usando o metodo setLocation() dos componentes. Meu PC é antigo então ele não tem requerimentos para rodar aplicativos com o NetBeans ou o Eclipse que facilita a vida na hora de construir Interfaces Graficas.
Antes que alguem recomende algum aplicativo a config do meu PC é um Pentium II 233Mhz com 196Ram :cry:

7 Respostas

J

Realmente o teu PC não ajuda muito, eu sempre utilizei o NetBeans como IDE de desenvolvimento e não me arrependo em nada, não sei se você pelo menos tentou executar o NetBeans no seu computador, se não tentou veja se a performance não melhora instalando apenas a versão para desenvolvimento Java SE e a IDE, são apenas 21 Mb e dependendo do que você precisa já resolveria o seu problema utilizando a parte visual dele (matisse), o endereço pra download é http://sunmicro.vo.llnwd.net/c1/netbeans/6.0/final/

[]´s

rubinelli

Ih rapaz, nessa configuração não vai dar pra rodar nada não. Vê se você consegue comprar mais uma plaquinha de memória no MercadoLivre, foi o que eu fiz com o meu recém-falecido Duron.

A única dica que eu posso dar é quebrar a criação da tela em vários métodos, um para cada área, e se esses métodos ainda estiverem longos, quebrá-los mais um nível. E nuca reaproveite variáveis! Se você está reaproveitando variáveis, está fazendo algo errado.

D

Não, eu não reuso variaveis.
O NetBeans eu tentei uma vez mais foi uns 5 minutos so para carregar dai desisti.
Segue abaixo o codigo de como faço as interfaces.

import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
import java.text.*;

public class FormContatoMetaleiro extends JInternalFrame
{
   private JTextField nome;
   private JLabel nomeLabel;
   private JFormattedTextField telefone;
   private MaskFormatter telefoneMascara;
   private JLabel telefoneLabel;
   private JTextField email;
   private JLabel emailLabel;
   private JFormattedTextField celular;
   private JLabel celularLabel;
   private MaskFormatter celularMascara;
   private JTextField endereçoRua;
   private JLabel endereçoLabel;
   private JTextField endereçoNumero;
   private JTextField endereçoBairro;
   private JLabel bairroLabel;
   private JTextField endereçoCidade;
   private JLabel cidadeLabel;
   private JButton salvarContato;
   private JButton limparFormulario;
   
   public FormContatoMetaleiro()
   {
      super("Cadastras Novo Metaleiro", false, false, false, true);
      try
      {
         Container container = getContentPane();
         container.setLayout(new GridBagLayout());
         nomeLabel = new JLabel("Nome: ");
         GridBagConstraints nomeLabelConstraints = new GridBagConstraints(0, 0, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(nomeLabel, nomeLabelConstraints);
         nome = new JTextField(20);
         GridBagConstraints nomeConstraints = new GridBagConstraints(2, 0, 2, 1, 0.80, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(nome, nomeConstraints);
         telefoneLabel = new JLabel("Telefone: ");
         GridBagConstraints telefoneLabelConstraints = new GridBagConstraints(0, 1, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(telefoneLabel, telefoneLabelConstraints);
         telefoneMascara = new MaskFormatter("(##) - ####-####");
         telefoneMascara.setValidCharacters("[telefone removido]");
         telefone = new JFormattedTextField(telefoneMascara);
         telefone.setColumns(8);
         GridBagConstraints telefoneConstraints = new GridBagConstraints(2, 1, 2, 1, 0.80, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(telefone, telefoneConstraints);
         emailLabel = new JLabel("Email: ");
         GridBagConstraints emailLabelConstraints = new GridBagConstraints(0, 2, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(emailLabel, emailLabelConstraints);
         email = new JTextField(20);
         GridBagConstraints emailConstraints = new GridBagConstraints(2, 2, 2, 1, 0.80, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(email, emailConstraints);
         celularLabel = new JLabel("Celular: ");
         GridBagConstraints celularLabelConstraints = new GridBagConstraints(0, 3, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(celularLabel, celularLabelConstraints);
         celularMascara = new MaskFormatter("(##) - ########");
         celularMascara.setValidCharacters("[telefone removido]");
         celular = new JFormattedTextField(celularMascara);
         celular.setColumns(8);
         GridBagConstraints celularConstraints = new GridBagConstraints(2, 3, 2, 1, 0.80, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(celular, celularConstraints);
         endereçoLabel = new JLabel("Endereço: ");
         GridBagConstraints endereçoLabelConstraints = new GridBagConstraints(0, 4, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(endereçoLabel, endereçoLabelConstraints);
         endereçoRua = new JTextField(20);
         GridBagConstraints endereçoRuaConstraints = new GridBagConstraints(2, 4, 2, 1, 0.60, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(endereçoRua, endereçoRuaConstraints);
         endereçoNumero = new JTextField(6);
         GridBagConstraints endereçoNumeroConstraints = new GridBagConstraints(4, 4, 1, 1, 0.20, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(endereçoNumero, endereçoNumeroConstraints);
         bairroLabel = new JLabel("Bairro: ");
         GridBagConstraints bairroLabelConstraints = new GridBagConstraints(0, 5, 2, 1, 0.20, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(bairroLabel, bairroLabelConstraints);
         endereçoBairro = new JTextField(10);
         GridBagConstraints bairroEndereçoConstraints = new GridBagConstraints(2, 5, 1, 1, 0.20, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(endereçoBairro, bairroEndereçoConstraints);
         cidadeLabel = new JLabel("Cidade: ");
         GridBagConstraints cidadeLabelConstraints = new GridBagConstraints(3, 5, 2, 1, 0.30, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(cidadeLabel, cidadeLabelConstraints);
         endereçoCidade = new JTextField(6);
         GridBagConstraints endereçoCidadeConstraints = new GridBagConstraints(5, 5, 2, 1, 0.30, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(endereçoCidade, endereçoCidadeConstraints);
         salvarContato = new JButton("Salvar");
         GridBagConstraints salvarConstraints = new GridBagConstraints(3, 6, 2, 1, 0.50, 0.20, GridBagConstraints.EAST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(salvarContato, salvarConstraints);
         limparFormulario = new JButton("Limpar Formulario");
         GridBagConstraints limparFormularioConstraints = new GridBagConstraints(5, 6, 3, 1, 0.50, 0.20, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(4, 4, 4, 4), 4, 4);
         container.add(limparFormulario, limparFormularioConstraints);
         pack();
      }
      catch (ParseException ex)
      {
      }
   }
}
andretco

ae dark_creator,

já tive um pouco de experiencia em relação à construção das GUI.

O NetBeans gera muito código e um pouco ilegivel. O do Eclispe não cheguei a usar mas me imagino que deve ser parecido. Então decidi programar à mão. Acho que é melhor fazer isso já que vc tem mais controle sobre o código e pode modificar facilmente alguma coisa.

O GridBagLayout e GridBagConstraints são trabalhosos sim, mas não tanto. Vale a pena tratar de dominar-los.

Não sei se te ajudei, mas só queria te contar minha experiência.

Até mais.

Pedrosa

Na mão isso é loucura, o NetBeans é o melhor gerador de interface gráfica, com a adoção de um framework como: http://www.michaelnascimento.com.br/eventos/justjava/2006/apresentacoes/desktop_em_minutos.pdf

Cara coloque mais memoria na sua máquina e boa sorte.

andretco

deve ser loucura para aplicações de grande tamanho. Mas se é uma aplicação simples, não é loucura programar à mão.

D

Testei o NetBeans e realmente a ferramenta para criação de GUI dele é ótima, parece com a do VisualStudio porem ele é muito pesado e o codigo gerado por ele chega a ser confuso.
Eu encontrei mais dois programas para ajudar na criação de GUI, segue abaixo:

JFrameBuilder
Freeware: não
Leve: Muito :smiley:
Avaliação: Fraco
Codigo Gerado: Otimo

Realmente é um programa simples, com poucas ferramentas e componentes porem facilita o trabalho para criação de interfaces simples e gera um codigo que achei mais limpo e se assemelha com a maneira que eu codifico, segue abaixo um JFrame simples feito nele:

/****************************************************************/ 
 /*                      Cadastro	                            */ 
 /*                                                              */ 
 /****************************************************************/ 
 import java.awt.*; 
 import java.awt.event.*; 
 import javax.swing.*; 
 /** 
  * Summary description for Cadastro 
  * 
  */ 
 public class Cadastro extends JFrame 
 { 
 	// Variables declaration 
 	private JLabel nomeLabel; 
 	private JLabel telefoneLabel; 
 	private JTextField nomeField; 
 	private JTextField jTextField2; 
 	private JPanel contentPane; 
 	// End of variables declaration 
  
  
 	public Cadastro() 
 	{ 
 		super(); 
 		initializeComponent(); 
 		// 
 		// TODO: Add any constructor code after initializeComponent call 
 		// 
  
 		this.setVisible(true); 
 	} 
  
 	/** 
 	 * This method is called from within the constructor to initialize the form. 
 	 * WARNING: Do NOT modify this code. The content of this method is always regenerated 
 	 * by the Windows Form Designer. Otherwise, retrieving design might not work properly. 
 	 * Tip: If you must revise this method, please backup this GUI file for JFrameBuilder 
 	 * to retrieve your design properly in future, before revising this method. 
 	 */ 
 	private void initializeComponent() 
 	{ 
 		nomeLabel = new JLabel(); 
 		telefoneLabel = new JLabel(); 
 		nomeField = new JTextField(); 
 		jTextField2 = new JTextField(); 
 		contentPane = (JPanel)this.getContentPane(); 
  
 		// 
 		// nomeLabel 
 		// 
 		nomeLabel.setText("Nome: "); 
 		// 
 		// telefoneLabel 
 		// 
 		telefoneLabel.setText("Telefone:"); 
 		// 
 		// nomeField 
 		// 
 		nomeField.addActionListener(new ActionListener() { 
 			public void actionPerformed(ActionEvent e) 
 			{ 
 				nomeField_actionPerformed(e); 
 			} 
  
 		}); 
 		// 
 		// jTextField2 
 		// 
 		jTextField2.addActionListener(new ActionListener() { 
 			public void actionPerformed(ActionEvent e) 
 			{ 
 				jTextField2_actionPerformed(e); 
 			} 
  
 		}); 
 		// 
 		// contentPane 
 		// 
 		contentPane.setLayout(null); 
 		addComponent(contentPane, nomeLabel, 28,26,60,18); 
 		addComponent(contentPane, telefoneLabel, 13,50,60,18); 
 		addComponent(contentPane, nomeField, 60,24,100,22); 
 		addComponent(contentPane, jTextField2, 60,48,100,22); 
 		// 
 		// Cadastro 
 		// 
 		this.setTitle("Cadastro - extends JFrame"); 
 		this.setLocation(new Point(28, 63)); 
 		this.setSize(new Dimension(181, 116)); 
 	} 
  
 	/** Add Component Without a Layout Manager (Absolute Positioning) */ 
 	private void addComponent(Container container,Component c,int x,int y,int width,int height) 
 	{ 
 		c.setBounds(x,y,width,height); 
 		container.add(c); 
 	} 
  
 	// 
 	// TODO: Add any appropriate code in the following Event Handling Methods 
 	// 
 	private void nomeField_actionPerformed(ActionEvent e) 
 	{ 
 		System.out.println("\nnomeField_actionPerformed(ActionEvent e) called."); 
 		// TODO: Add any handling code here 
  
 	} 
  
 	private void jTextField2_actionPerformed(ActionEvent e) 
 	{ 
 		System.out.println("\njTextField2_actionPerformed(ActionEvent e) called."); 
 		// TODO: Add any handling code here 
  
 	} 
  
 	// 
 	// TODO: Add any method code to meet your needs in the following area 
 	// 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   
  
 //============================= Testing ================================// 
 //=                                                                    =// 
 //= The following main method is just for testing this class you built.=// 
 //= After testing,you may simply delete it.                            =// 
 //======================================================================// 
 	public static void main(String[] args) 
 	{ 
 		JFrame.setDefaultLookAndFeelDecorated(true); 
 		JDialog.setDefaultLookAndFeelDecorated(true); 
 		try 
 		{ 
 			UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); 
 		} 
 		catch (Exception ex) 
 		{ 
 			System.out.println("Failed loading L&F: "); 
 			System.out.println(ex); 
 		} 
 		new Cadastro(); 
 	} 
 //= End of Testing = 
  
  
 }

Abacus GUI Builder
Freeware: Sim
Leve: Sim
Avaliação: Muito Bom
Codigo Gerado: Muito confuso.

Achei um otimo programa, com muitos containers, componentes e ate componentes personalizados, permite interação com BD, tem uma otima interface, realmente muito completo, porem não vi a opção de ver o codigo fonte e se pode salvar apenas com uma extensão do proprio programa, o codigo fonte eu peguei de um arquivo .java que foi gerado no diretorio do projeto, que por sinal tinha muitas classes internas :?

// PREAMBLE CODE
package JFrame;

// These are the import packages.
import java.io.*;
import java.awt.*;
import java.util.*;
import javax.swing.*;
import javax.swing.text.*;
import javax.swing.plaf.*;
import java.lang.reflect.*;
import java.awt.event.*;
import javax.swing.event.*;
import ch.abacus.lib.ui.*;
import ch.abacus.lib.ui.layout.*;
import ch.abacus.lib.ui.renderer.common.jdbc.*;

/***__@Class: [New_Project] ***/
public class New_Project
{
  public New_Project theProjectWrapper = this;
  protected JFrame JFrame1 = new JFrame();
  protected JLabel nomeLabel = new JLabel();
  protected JTextField nomeField = new JTextField();
  protected JLabel JLabel1 = new JLabel();
  protected JTextField JTextField1 = new JTextField();
  public New_Project () {
    try {
      initializeInterface();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

  public void initializeInterface() {
    //  Get the content pane of the frame.
    JPanel contentPaneJFrame1 = (JPanel) JFrame1.getContentPane();
    // Set the layout.
    AnchoringLayoutManager layoutManagerJFrame1 = new AnchoringLayoutManager
      ();
    contentPaneJFrame1.setLayout(layoutManagerJFrame1);
    JFrame1.setBackground(new Color(212,208,200));
    JFrame1.setForeground(new Color(0,0,0));
    JFrame1.setLocation(new java.awt.Point(16,8));
    JFrame1.setSize(new java.awt.Dimension(288,88));
    JFrame1.setTitle("JFrame1");
    JFrame1.addContainerListener( new JFrame1$$$ContainerAdapter() );
    JFrame1.addKeyListener( new JFrame1$$$KeyAdapter() );
    JFrame1.addMouseMotionListener( new JFrame1$$$MouseMotionAdapter() );
    Font font$$$nomeLabel = new Font("Tahoma",Font.PLAIN,11);
    nomeLabel.setBackground(new Color(212,208,200));
    nomeLabel.setForeground(new Color(0,0,0));
    nomeLabel.setLocation(new java.awt.Point(32,24));
    nomeLabel.setSize(new java.awt.Dimension(40,22));
    nomeLabel.setFont(font$$$nomeLabel);
    nomeLabel.setText("Nome: ");
    //  Add the control nomeLabel to the content pane.
    contentPaneJFrame1.add(nomeLabel, "nomeLabel");
    layoutManagerJFrame1.setAnchoring(nomeLabel, false, false, false,
      false);
    nomeLabel.addContainerListener( new nomeLabel$$$ContainerAdapter() );
    nomeLabel.addKeyListener( new nomeLabel$$$KeyAdapter() );
    nomeLabel.addMouseMotionListener( new nomeLabel$$$MouseMotionAdapter
      () );
    Font font$$$nomeField = new Font("Tahoma",Font.PLAIN,11);
    nomeField.setBackground(new Color(255,255,255));
    nomeField.setForeground(new Color(0,0,0));
    nomeField.setLocation(new java.awt.Point(72,24));
    nomeField.setSize(new java.awt.Dimension(200,22));
    nomeField.setFont(font$$$nomeField);
    nomeField.setText("");
    //  Add the control nomeField to the content pane.
    contentPaneJFrame1.add(nomeField, "nomeField");
    layoutManagerJFrame1.setAnchoring(nomeField, false, false, false,
      false);
    nomeField.addContainerListener( new nomeField$$$ContainerAdapter() );
    nomeField.addKeyListener( new nomeField$$$KeyAdapter() );
    nomeField.addMouseMotionListener( new nomeField$$$MouseMotionAdapter
      () );
    Font font$$$JLabel1 = new Font("Tahoma",Font.PLAIN,11);
    JLabel1.setBackground(new Color(212,208,200));
    JLabel1.setForeground(new Color(0,0,0));
    JLabel1.setLocation(new java.awt.Point(16,48));
    JLabel1.setSize(new java.awt.Dimension(100,22));
    JLabel1.setFont(font$$$JLabel1);
    JLabel1.setText("Telefone:");
    //  Add the control JLabel1 to the content pane.
    contentPaneJFrame1.add(JLabel1, "JLabel1");
    layoutManagerJFrame1.setAnchoring(JLabel1, false, false, false,
      false);
    JLabel1.addContainerListener( new JLabel1$$$ContainerAdapter() );
    JLabel1.addKeyListener( new JLabel1$$$KeyAdapter() );
    JLabel1.addMouseMotionListener( new JLabel1$$$MouseMotionAdapter() );
    Font font$$$JTextField1 = new Font("Tahoma",Font.PLAIN,11);
    JTextField1.setBackground(new Color(255,255,255));
    JTextField1.setForeground(new Color(0,0,0));
    JTextField1.setLocation(new java.awt.Point(72,48));
    JTextField1.setSize(new java.awt.Dimension(200,22));
    JTextField1.setFont(font$$$JTextField1);
    JTextField1.setText("");
    //  Add the control JTextField1 to the content pane.
    contentPaneJFrame1.add(JTextField1, "JTextField1");
    layoutManagerJFrame1.setAnchoring(JTextField1, false, false, false,
      false);
    JTextField1.addContainerListener( new JTextField1$$$ContainerAdapter
      () );
    JTextField1.addKeyListener( new JTextField1$$$KeyAdapter() );
    JTextField1.addMouseMotionListener
      ( new JTextField1$$$MouseMotionAdapter() );
    // Show the main window
    JFrame1.show();
  }  // End of the initializeInterface method.
  public static void main(String[] args) {
    New_Project objMain = new New_Project();
  }
  /***__@Listener: [JFrame1$$$ContainerAdapter] ***/
  class JFrame1$$$ContainerAdapter extends ContainerAdapter  {
    /***__@Method: [componentAdded] ***/
    public void componentAdded(java.awt.event.ContainerEvent p0) {
      super.componentAdded(p0);
    }

    /***__@@Method: [componentAdded] ***/
    /***__@Method: [componentRemoved] ***/
    public void componentRemoved(java.awt.event.ContainerEvent p0) {
      super.componentRemoved(p0);
    }

    /***__@@Method: [componentRemoved] ***/
  }
  /***__@@Listener: [ContainerAdapter] ***/
  /***__@Listener: [JFrame1$$$KeyAdapter] ***/
  class JFrame1$$$KeyAdapter extends KeyAdapter  {
    /***__@Method: [keyPressed] ***/
    public void keyPressed(java.awt.event.KeyEvent p0) {
      super.keyPressed(p0);
    }

    /***__@@Method: [keyPressed] ***/
    /***__@Method: [keyReleased] ***/
    public void keyReleased(java.awt.event.KeyEvent p0) {
      super.keyReleased(p0);
    }

    /***__@@Method: [keyReleased] ***/
    /***__@Method: [keyTyped] ***/
    public void keyTyped(java.awt.event.KeyEvent p0) {
      super.keyTyped(p0);
    }

    /***__@@Method: [keyTyped] ***/
  }
  /***__@@Listener: [KeyAdapter] ***/
  /***__@Listener: [JFrame1$$$MouseMotionAdapter] ***/
  class JFrame1$$$MouseMotionAdapter extends MouseMotionAdapter  {
    /***__@Method: [mouseDragged] ***/
    public void mouseDragged(java.awt.event.MouseEvent p0) {
      super.mouseDragged(p0);
    }

    /***__@@Method: [mouseDragged] ***/
    /***__@Method: [mouseMoved] ***/
    public void mouseMoved(java.awt.event.MouseEvent p0) {
      super.mouseMoved(p0);
    }

    /***__@@Method: [mouseMoved] ***/
  }
  /***__@@Listener: [MouseMotionAdapter] ***/
  /***__@Listener: [nomeLabel$$$ContainerAdapter] ***/
  class nomeLabel$$$ContainerAdapter extends ContainerAdapter  {
    /***__@Method: [componentAdded] ***/
    public void componentAdded(java.awt.event.ContainerEvent p0) {
      super.componentAdded(p0);
    }

    /***__@@Method: [componentAdded] ***/
    /***__@Method: [componentRemoved] ***/
    public void componentRemoved(java.awt.event.ContainerEvent p0) {
      super.componentRemoved(p0);
    }

    /***__@@Method: [componentRemoved] ***/
  }
  /***__@@Listener: [ContainerAdapter] ***/
  /***__@Listener: [nomeLabel$$$KeyAdapter] ***/
  class nomeLabel$$$KeyAdapter extends KeyAdapter  {
    /***__@Method: [keyPressed] ***/
    public void keyPressed(java.awt.event.KeyEvent p0) {
      super.keyPressed(p0);
    }

    /***__@@Method: [keyPressed] ***/
    /***__@Method: [keyReleased] ***/
    public void keyReleased(java.awt.event.KeyEvent p0) {
      super.keyReleased(p0);
    }

    /***__@@Method: [keyReleased] ***/
    /***__@Method: [keyTyped] ***/
    public void keyTyped(java.awt.event.KeyEvent p0) {
      super.keyTyped(p0);
    }

    /***__@@Method: [keyTyped] ***/
  }
  /***__@@Listener: [KeyAdapter] ***/
  /***__@Listener: [nomeLabel$$$MouseMotionAdapter] ***/
  class nomeLabel$$$MouseMotionAdapter extends MouseMotionAdapter  {
    /***__@Method: [mouseDragged] ***/
    public void mouseDragged(java.awt.event.MouseEvent p0) {
      super.mouseDragged(p0);
    }

    /***__@@Method: [mouseDragged] ***/
    /***__@Method: [mouseMoved] ***/
    public void mouseMoved(java.awt.event.MouseEvent p0) {
      super.mouseMoved(p0);
    }

    /***__@@Method: [mouseMoved] ***/
  }
  /***__@@Listener: [MouseMotionAdapter] ***/
  /***__@Listener: [nomeField$$$ContainerAdapter] ***/
  class nomeField$$$ContainerAdapter extends ContainerAdapter  {
    /***__@Method: [componentAdded] ***/
    public void componentAdded(java.awt.event.ContainerEvent p0) {
      super.componentAdded(p0);
    }

    /***__@@Method: [componentAdded] ***/
    /***__@Method: [componentRemoved] ***/
    public void componentRemoved(java.awt.event.ContainerEvent p0) {
      super.componentRemoved(p0);
    }

    /***__@@Method: [componentRemoved] ***/
  }
  /***__@@Listener: [ContainerAdapter] ***/
  /***__@Listener: [nomeField$$$KeyAdapter] ***/
  class nomeField$$$KeyAdapter extends KeyAdapter  {
    /***__@Method: [keyPressed] ***/
    public void keyPressed(java.awt.event.KeyEvent p0) {
      super.keyPressed(p0);
    }

    /***__@@Method: [keyPressed] ***/
    /***__@Method: [keyReleased] ***/
    public void keyReleased(java.awt.event.KeyEvent p0) {
      super.keyReleased(p0);
    }

    /***__@@Method: [keyReleased] ***/
    /***__@Method: [keyTyped] ***/
    public void keyTyped(java.awt.event.KeyEvent p0) {
      super.keyTyped(p0);
    }

    /***__@@Method: [keyTyped] ***/
  }
  /***__@@Listener: [KeyAdapter] ***/
  /***__@Listener: [nomeField$$$MouseMotionAdapter] ***/
  class nomeField$$$MouseMotionAdapter extends MouseMotionAdapter  {
    /***__@Method: [mouseDragged] ***/
    public void mouseDragged(java.awt.event.MouseEvent p0) {
      super.mouseDragged(p0);
    }

    /***__@@Method: [mouseDragged] ***/
    /***__@Method: [mouseMoved] ***/
    public void mouseMoved(java.awt.event.MouseEvent p0) {
      super.mouseMoved(p0);
    }

    /***__@@Method: [mouseMoved] ***/
  }
  /***__@@Listener: [MouseMotionAdapter] ***/
  /***__@Listener: [JLabel1$$$ContainerAdapter] ***/
  class JLabel1$$$ContainerAdapter extends ContainerAdapter  {
    /***__@Method: [componentAdded] ***/
    public void componentAdded(java.awt.event.ContainerEvent p0) {
      super.componentAdded(p0);
    }

    /***__@@Method: [componentAdded] ***/
    /***__@Method: [componentRemoved] ***/
    public void componentRemoved(java.awt.event.ContainerEvent p0) {
      super.componentRemoved(p0);
    }

    /***__@@Method: [componentRemoved] ***/
  }
  /***__@@Listener: [ContainerAdapter] ***/
  /***__@Listener: [JLabel1$$$KeyAdapter] ***/
  class JLabel1$$$KeyAdapter extends KeyAdapter  {
    /***__@Method: [keyPressed] ***/
    public void keyPressed(java.awt.event.KeyEvent p0) {
      super.keyPressed(p0);
    }

    /***__@@Method: [keyPressed] ***/
    /***__@Method: [keyReleased] ***/
    public void keyReleased(java.awt.event.KeyEvent p0) {
      super.keyReleased(p0);
    }

    /***__@@Method: [keyReleased] ***/
    /***__@Method: [keyTyped] ***/
    public void keyTyped(java.awt.event.KeyEvent p0) {
      super.keyTyped(p0);
    }

    /***__@@Method: [keyTyped] ***/
  }
  /***__@@Listener: [KeyAdapter] ***/
  /***__@Listener: [JLabel1$$$MouseMotionAdapter] ***/
  class JLabel1$$$MouseMotionAdapter extends MouseMotionAdapter  {
    /***__@Method: [mouseDragged] ***/
    public void mouseDragged(java.awt.event.MouseEvent p0) {
      super.mouseDragged(p0);
    }

    /***__@@Method: [mouseDragged] ***/
    /***__@Method: [mouseMoved] ***/
    public void mouseMoved(java.awt.event.MouseEvent p0) {
      super.mouseMoved(p0);
    }

    /***__@@Method: [mouseMoved] ***/
  }
  /***__@@Listener: [MouseMotionAdapter] ***/
  /***__@Listener: [JTextField1$$$ContainerAdapter] ***/
  class JTextField1$$$ContainerAdapter extends ContainerAdapter  {
    /***__@Method: [componentAdded] ***/
    public void componentAdded(java.awt.event.ContainerEvent p0) {
      super.componentAdded(p0);
    }

    /***__@@Method: [componentAdded] ***/
    /***__@Method: [componentRemoved] ***/
    public void componentRemoved(java.awt.event.ContainerEvent p0) {
      super.componentRemoved(p0);
    }

    /***__@@Method: [componentRemoved] ***/
  }
  /***__@@Listener: [ContainerAdapter] ***/
  /***__@Listener: [JTextField1$$$KeyAdapter] ***/
  class JTextField1$$$KeyAdapter extends KeyAdapter  {
    /***__@Method: [keyPressed] ***/
    public void keyPressed(java.awt.event.KeyEvent p0) {
      super.keyPressed(p0);
    }

    /***__@@Method: [keyPressed] ***/
    /***__@Method: [keyReleased] ***/
    public void keyReleased(java.awt.event.KeyEvent p0) {
      super.keyReleased(p0);
    }

    /***__@@Method: [keyReleased] ***/
    /***__@Method: [keyTyped] ***/
    public void keyTyped(java.awt.event.KeyEvent p0) {
      super.keyTyped(p0);
    }

    /***__@@Method: [keyTyped] ***/
  }
  /***__@@Listener: [KeyAdapter] ***/
  /***__@Listener: [JTextField1$$$MouseMotionAdapter] ***/
  class JTextField1$$$MouseMotionAdapter extends MouseMotionAdapter  {
    /***__@Method: [mouseDragged] ***/
    public void mouseDragged(java.awt.event.MouseEvent p0) {
      super.mouseDragged(p0);
    }

    /***__@@Method: [mouseDragged] ***/
    /***__@Method: [mouseMoved] ***/
    public void mouseMoved(java.awt.event.MouseEvent p0) {
      super.mouseMoved(p0);
    }

    /***__@@Method: [mouseMoved] ***/
  }
  /***__@@Listener: [MouseMotionAdapter] ***/
}
/***__@@Class: [New_Project] ***/

Por enquanto foi isso que consegui, parece que ainda vou ter que fazer tudo na mão por algum tempo, mas gostaria da opinião de vocês sobre esses programas e se tem alguma recomendação.
Estava pensando em algo para facilitar minha vida e vou usar tecnicas de POO para faciliar o desenvolvimento da GUI.

Qualquer sugestão e dica serão muito bem vindas :smiley:

Criado 6 de dezembro de 2007
Ultima resposta 7 de dez. de 2007
Respostas 7
Participantes 5