예제 #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;
  }
예제 #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;
 }