1617181920212223242526
return; } MibewTray tray = new MibewTray(); MibewAgent agent = new MibewAgent(options.getAgentOptions(), tray); agent.launch(); tray.initTray(display, shell, agent); while (!shell.isDisposed()) { if (!display.readAndDispatch())
1516171819202122232425
@Override protected void onlineStateChanged(boolean isOnline) { System.out.println("now " + (isOnline ? "online" : "offline")); } }); agent.launch(); try { Thread.sleep(3500); } catch (InterruptedException e) { }