Estrutura das pastas
ControleEstoque
|----Source Packages
|--------ControleEstoque ( Package )
|-------------Produtos.java
|-------------ProdutosView.java ( onde esta a linha com erro )
Mostre partes de código usando a TAG CODE e mostre o erro que acontece e conte um pouco a sua dúvida…
W
webluc
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]
packageControleEstoque;importjava.beans.PropertyVetoException;importjava.util.logging.Level;importjava.util.logging.Logger;importjavax.swing.JDesktopPane;importjavax.swing.JInternalFrame;publicclassProdutosViewextendsjavax.swing.JInternalFrame{privateJDesktopPanejDesktop;/** Creates new form ProdutosView */publicProdutosView(JDesktopPanetheDesktop){this.jDesktop=theDesktop;initComponents();}privatevoidbtSairActionPerformed(java.awt.event.ActionEventevt){setVisible(false);// TODO add your handling code here:}privatevoidbtNovoActionPerformed(java.awt.event.ActionEventevt){NovoProdutos();// TODO add your handling code here:}// Variables declaration - do not modifyprivatejavax.swing.JTableTbProdutos;privatejavax.swing.JButtonbtAlterar;privatejavax.swing.JButtonbtApagar;privatejavax.swing.JButtonbtAtualisar;privatejavax.swing.JButtonbtNovo;privatejavax.swing.JButtonbtPesquisar;privatejavax.swing.JButtonbtSair;privatejavax.persistence.EntityManagerestoquePUEntityManager;privatejavax.swing.JLabeljLabel1;privatejavax.swing.JScrollPanejScrollPane1;privatejava.util.List<ControleEstoque.Produtos>produtosList;privatejavax.persistence.QueryprodutosQuery;privatejavax.swing.JTextFieldtxtPesquisar;privateorg.jdesktop.beansbinding.BindingGroupbindingGroup;// End of variables declarationprivateJInternalFrameNovoProdutos;}
é o seguinte..
Ele diz " Cannot find Symbol" - mais impossível.. como mostrei na estrutura.. está lá .
W
webluc
RESOLVIDO. era apenas uma classe com o mesmo nome do package.