Code example for Properties

Methods: sleepput

0
 
       compo.setDictionary(p);
 
        compo.start();
 
        Properties msg = new Properties();
        msg.put("to","gregory.nain@gmail.com");
        msg.put("content", "Yeepee");
 
        compo.sendMessage(msg);
 
        Thread.sleep(2 * 40 * 1000);
 
        compo.stop();
    } 
 
 
} 
Experience pair programming with AI  Get Codota for Java