Examples of XappTextArea


Examples of org.one.stone.soup.xapp.components.XappTextArea

  }
  private void _log(String entry)
  {
    entry = new SimpleDateFormat("HH:mm:ss").format(new Date())+" "+entry;
   
    XappTextArea dataField = (XappTextArea)XappRootApplication.getComponentStore().getXappComponent("status.data");
    String data = dataField.getData();
    String[] lines = StringArrayHelper.parseFields(data,'\n');
    if(lines.length>35)
    {
      data = StringArrayHelper.arrayToString(lines,"\n",lines.length-35,lines.length)+'\n';
      dataField.setData( data );
    }
    dataField.append(entry+'\n');
  }
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.