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);
  }
 protected String getConsumerSecret() {
   String consumerSecret = tbConsumerSecretPass.getText();
   consumerSecret = Global_String.removeHtmlTags(consumerSecret).trim();
   return consumerSecret;
 }
 protected String getConsumerKey() {
   String consumerKey = tbConsumerKey.getText();
   consumerKey = Global_String.removeHtmlTags(consumerKey).trim();
   return consumerKey;
 }