Cannot resolve symbol
From: Rune Memborg Henriksen (memborg_at_it.dk)
Date: 04/28/04
- Next message: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Previous message: Thomas: "Text - fixed width, variable height"
- Next in thread: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Reply: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Apr 2004 16:53:01 +0200
Hi...
I get the following error when i try to compile my java swing program
error:
CykelProgram_GUI.java [259:1] cannot resolve symbol
symbol : method add (java.lang.String)
location: class javax.swing.JList
rytterlist.add("Rune");
^
As you can see rytterlist is a JLIst that i am trying to add a String to.
Code:
for(int i=0; i <= cm.tour.DeltagerListe.size(); i++)
{
rytterlist.add("rune");
}
Hope some one can help with this problem. I is hust regular Strings I want
to add to my jLIst.
- Next message: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Previous message: Thomas: "Text - fixed width, variable height"
- Next in thread: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Reply: Christophe Vanfleteren: "Re: Cannot resolve symbol"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|