You added the JList to the JScrollPane. What is the parent container for JScrollPane? Did you add it to anything?
When you run this code, do you even see the JFrame? I do not see any code which will set it's dimensions nor any pack call. Is this your real code?