JList works after help from Lars.

Problem was, layout has to be defined in the constructor. It was in a separate method earlier.