Exemple #1
0
  /**
   * Method withOutputTextArea.
   *
   * @return PinoWindowBuilder
   */
  public WindowBuilder withOutputTextArea() {

    final ITeeterTextArea textArea = new OutputTextArea(new JTextArea(""));
    textArea.defaultSettings();
    ((BasicWindow) this.getBasicWindow()).setChatTextArea(textArea);
    textArea.setText("System Loaded - Hello - " + (new Date()));

    return this;
  }
Exemple #2
0
 /**
  * Method withInputCommandArea.
  *
  * @return PinoWindowBuilder
  */
 public WindowBuilder withInputCommandArea() {
   final ITeeterTextArea textArea = new CommandInputArea(new JTextArea(""));
   textArea.defaultSettings();
   ((BasicWindow) this.getBasicWindow()).setInputTextArea(textArea);
   return this;
 }