Hello, I've got a school project to write a program.
I ve got a given ClientListener class with constructor:
Java Code:
    public ClientListener(Client client) {
        this.client = client;
In client class I have:
Java Code:

public class Client extends JFrame implements JHelp {

     public Client(String[] args) {
        JFrame frame = new JFrame("JHelp Client");
        frame.setLayout(new BorderLayout());
        frame.setSize(640, 480);
        frame.setMinimumSize(new Dimension(640, 480));

        ClientListener c = new ClientListener(client);

static public void main(String[] args) {

      Client client = new Client(args);
        if (client.connect(args) == JHelp.OK) {
How can I properly add Clent Listener? I cant understand what parameter should I write:
Java Code:
 ClientListener cl = new ClientListener(?? HERE ?? );
Can somebody help?