process(result.getContent());
}
}
@Override
public void onFailure(Throwable caught) {
TemplateResources templates=com.google.gwt.core.shared.GWT.create(TemplateResources.class);
process(templates.notice().getText());
}
private void process(String content){
GuideTip tip=new GuideTip(home.getShortcut());
String[] lines=content.split("\n");
for(String line:lines){