The message is saying that the JList class does not have an add method that takes an int and a String as parameters.
You need to use a different add method (or maybe a different method altogether) to do whatever it is you are trying to do
Andrew Geroge Alexander
Joined: Feb 14, 2012
How will I be able to add the values to the list dynamically??
Any help will be greatly appreciated.