I have a class with a nested class inside of it an when I try to call the nested class' constructor I get this error
an enclosing instance that contains com.zipany.ZipTableModel.ColumnListener is required.
This is the code that I am using:
header.addMouseListener(new ZipTableModel.ColumnListener(table));
I would like to know what this error means and what corrections to my code should i make if there is something wrong.