Quick methods help


Last Updated:

  1. Sam Voss

    Sam Voss Well-Known Member This Topic's Starter

    Joined:
    Jun 25, 2010
    Messages:
    367
    Likes Received:
    44
    Okay, so I've been working onto an application and I am trying to split the one java file into multiple, so, the problem I'm getting is that in the main, I typed
    Listener listener = new Listener();
    After making a class called Listener, then putting an OnClick listener in the class, and in the spot wyere ot asks for what the listener is called I put in
    listener.listenername();
    Whenever I click the button it forcecloses, any suggestions? If you need anymore info just let me know and ill get it, thanks
     

    Advertisement

Share This Page

Loading...