Erro na inserção de um jlabel

2 respostas
A

Galera…

nunca vi isso(confesso q eu falar nunca vi é tenso…to começando no java agora…kkkkk). Eu tenho um jframe que funciona perfeitamente, porem quando eu coloco um jlabel a mais pelo netbeans ele dá o seguinte erro:

Exception in thread AWT-EventQueue-0 java.util.MissingResourceException: Cant find resource for bundle java.util.PropertyResourceBundle, key inicioJF.jLabel2.text

at java.util.ResourceBundle.getObject(ResourceBundle.java:384)

at java.util.ResourceBundle.getString(ResourceBundle.java:344)

at orcamento.inicioJF.initComponents(inicioJF.java:213)

at orcamento.inicioJF.(inicioJF.java:61)

at orcamento.inicioJF$7.run(inicioJF.java:384)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

eu vi no arquivo bundle.properties e ele insere a seguinte linha :

inicioJF.jLabel2.text=jLabel2

mas mesmo assim da esse erro… alguem ja teve problema semelhante?

2 Respostas

A

eu fui tentar colocar um jTextField e deu o mesmo problema…rs

Henrique.tenorio

Já aconteceu comigo uma vez também, ai eu só fechei e abri o netbeans e funfo.

Criado 9 de fevereiro de 2011
Ultima resposta 9 de fev. de 2011
Respostas 2
Participantes 2