Erro fantasma.. RESOLVIDO

3 respostas
W

Apresenta erro e item.

private java.util.List<ControleEstoque.[color=red]Produtos[/color]> produtosList;

Estrutura das pastas
ControleEstoque
|----Source Packages
|--------ControleEstoque ( Package )
|-------------Produtos.java
|-------------ProdutosView.java ( onde esta a linha com erro )

Pq isso…

3 Respostas

Guilherme_Gomes

Sua dúvida está nebulosa!

Mostre partes de código usando a TAG CODE e mostre o erro que acontece e conte um pouco a sua dúvida…

W

quote=Guilherme Gomes]Sua dúvida está nebulosa!

Mostre partes de código usando a TAG CODE e mostre o erro que acontece e conte um pouco a sua dúvida...[/quote]

package ControleEstoque;

import java.beans.PropertyVetoException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;

public class ProdutosView extends javax.swing.JInternalFrame {
     private JDesktopPane jDesktop;
    /** Creates new form ProdutosView */
    public ProdutosView(JDesktopPane theDesktop) {
        this.jDesktop = theDesktop;
        initComponents();
    }
    
     private void btSairActionPerformed(java.awt.event.ActionEvent evt) {                                       
        
        setVisible(false);// TODO add your handling code here:
    }                                      

    private void btNovoActionPerformed(java.awt.event.ActionEvent evt) {                                       
        NovoProdutos();// TODO add your handling code here:
    }                                      

    // Variables declaration - do not modify
    private javax.swing.JTable TbProdutos;
    private javax.swing.JButton btAlterar;
    private javax.swing.JButton btApagar;
    private javax.swing.JButton btAtualisar;
    private javax.swing.JButton btNovo;
    private javax.swing.JButton btPesquisar;
    private javax.swing.JButton btSair;
    private javax.persistence.EntityManager estoquePUEntityManager;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JScrollPane jScrollPane1;
    private java.util.List<ControleEstoque.Produtos> produtosList;
    private javax.persistence.Query produtosQuery;
    private javax.swing.JTextField txtPesquisar;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration
    private JInternalFrame NovoProdutos;
}

é o seguinte..
Ele diz " Cannot find Symbol" - mais impossível.. como mostrei na estrutura.. está lá .

W

RESOLVIDO. era apenas uma classe com o mesmo nome do package.

Criado 18 de fevereiro de 2008
Ultima resposta 19 de fev. de 2008
Respostas 3
Participantes 2