예제 #1
0
  public void drawError(String error) {
    hideLoading();

    pError.clear();
    pError.setVisible(true);

    error = Global_String.removeHtmlTags(error);
    HTML htmlError = new HTML(error);

    pError.add(htmlError);

    // hide error shortly after fire
    Timer t =
        new Timer() {
          public void run() {
            pError.setVisible(false);
          }
        };
    t.schedule(3000);
  }
예제 #2
0
 protected String getConsumerSecret() {
   String consumerSecret = tbConsumerSecretPass.getText();
   consumerSecret = Global_String.removeHtmlTags(consumerSecret).trim();
   return consumerSecret;
 }
예제 #3
0
 protected String getConsumerKey() {
   String consumerKey = tbConsumerKey.getText();
   consumerKey = Global_String.removeHtmlTags(consumerKey).trim();
   return consumerKey;
 }