Package jcurses.util

Examples of jcurses.util.Message


   
    return false;
  }

  public static void showError(Exception e) {
    Message d = new Message("error", e.toString(), "ok");
    d.show();
  }
View Full Code Here


      uiLock.unlock();
    }
  }

  protected void showError(Exception e) {
    new Message("Error", String.valueOf(e.getMessage()), "ok").show();
  }
View Full Code Here

      }
     
      buffy.append("\n");
    }   
   
    new Message("Help", buffy.toString(), "ok").show();
  }
View Full Code Here

      }
    }
  }

  protected void showMessage(String message) {
    new Message("", message, "ok").show();
  }
View Full Code Here

  public static boolean wasLetter(InputChar inp, char value) {
    return !inp.isSpecialCode() && inp.getCharacter() == value;
  }

  public static void showError(Exception e) {
    Message d = new Message("error", e.toString(), "ok");
    d.show();
  }
View Full Code Here

    *  Shows the i/o error message, if an i/o occcurs reading a directory.
    * In the default implementation uses texts set with <code>setIOErrorMessageTitle</code>
    * and <code>setIOErrorMessageText</code>. can be modified in derived classes.
    */
    protected  void directoryReadErrorMessage() {
        new Message(_ioErrorTitle, _ioErrorText,"OK").show();
    }
View Full Code Here

          _files.add(getRelativePath(files[i], directory));
        }
      }
    } else {
      //Kann eigentlich nicht sein
      new Message("Error","An error is occured trying to read the directory\n "+directory,"OK");
    }
  }
View Full Code Here

    list.doPaint();
  }

  void showHelp() {
    new Message("Help", "Help\nUse arrow keys to move.  q to quit.", "ok").show();
  }
View Full Code Here

TOP

Related Classes of jcurses.util.Message

Copyright © 2018 www.massapicom. 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.