Package org.olat.core.gui.control

Examples of org.olat.core.gui.control.WindowBackOffice.invokeLater()


          try {
            Thread.sleep(1000);
          } catch (InterruptedException e) {
            // ignore
          }
          wbo.invokeLater(new Runnable() {
            public void run() {
              // simple reput the new lists into the velocity container.
              // the container is then dirty and automatically rerendered since polling has been turned on here.
              busMsgs.contextPut("time", Formatter.formatDatetime(new Date()));
              busMsgs.contextPut("recmsgs", clusBus.getListOfReceivedMsgs());
View Full Code Here


    final WindowBackOffice wbo = getWindowControl().getWindowBackOffice();
    Thread t = new Thread(new Runnable() {
      public void run() {
        for (int i=0; i<20; i++) {
          final int j = i;
          wbo.invokeLater(new Runnable(){
            public void run() {
              updateVc.contextPut("msg", ""+j);             
            }
          });
          try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.