Trace: • Push support
This is an old revision of the document!
There's already a push mechanism in JVx. In ProjX based applications it's easier to handle messages, because ProjX already is a listener. Simply extend ProjX:
public class MyApplication extends ProjX { public MyApplication(UILauncher pLauncher) throws Throwable { super(pLauncher); } @Override public void callBackResult(CallBackResultEvent pEvent) { if ("RELOAD".equals(pEvent.getInstruction())) { try { reload(); } catch (Throwable th) { error(th); } } } }