all inner classes are in a parent class, otherwise they would not be *inner* classes :)
eg. the following creates an anon inner class
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
// do stuff here
}
});