What do you know about OOP programming. Your question implies that you need to do a bit of studying before trying to write a program.
If this is the statement with the error, it says to call the ImageDisplay method and pass it a JTextField reference.Code:
The method is to return a component that can be added to the content panel.
There is a class named ImageDisplay but there is NOT a method named ImageDisplay.