webluc
Fevereiro 18, 2008, 10:13am
#1
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…
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…
webluc
Fevereiro 18, 2008, 10:32am
#3
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]
[code]
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;
}[/code]
é o seguinte…
Ele diz " Cannot find Symbol" - mais impossível… como mostrei na estrutura… está lá .
webluc
Fevereiro 19, 2008, 8:47am
#4
RESOLVIDO. era apenas uma classe com o mesmo nome do package.