Adam Zedan wrote:The code is
I am using eclipse SE ..
Hi, dont use java.awt.List this List is different from the List in Collections framework.
You have already imported complete java.util package which contains java.util.List and java.util.ArrayList