Menu

Controling JML from main class

Help
2008-11-27
2013-04-29
  • kristjan ugrin

    kristjan ugrin - 2008-11-27

    Hello!

    I managed to get very basic example up and running and I'm not familiar with the way JML is working.
    I created a main class with main method, created a new instace of MsnClass which extends BasicMessenger.

    Now, when callin methods like login, getContacts, logout from main method, it does't wait till the process is finished - it keeps going on, and the
    worse it is that a thread keeps running even after my main method completed.
    How can I wait in main class until login is completed?
    And at the end how can I completely shut down program without killing it?

     
    • kristjan ugrin

      kristjan ugrin - 2008-11-27

      Aditionally some code:
      http://pastebin.com/m402af3f1

      Login works and it throws an event, but I can't get contacts.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.