You need to create variables for the GUI objects that can be used to add the listeners.
Comp comp = new Comp();
vs
add(new Comp());