/** * 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; }
/** * Method withInputCommandArea. * * @return PinoWindowBuilder */ public WindowBuilder withInputCommandArea() { final ITeeterTextArea textArea = new CommandInputArea(new JTextArea("")); textArea.defaultSettings(); ((BasicWindow) this.getBasicWindow()).setInputTextArea(textArea); return this; }