@Override public void setWordWrap(boolean wordWrap) { component.setWordWrap(wordWrap); }
@Override public void doBuild() { textArea = new TextArea(); textArea.setSizeFull(); textArea.setReadOnly(false); textArea.setWordWrap(false); if (error != null) { String s = ExceptionUtils.getStackTrace(error) + ("\n\n"); //add a couple of blank lines at the bottom to ensure visibility of the last line textArea.setValue(s); } else { textArea.setValue("Error view has been called but no error has been set. This should not happen"); textArea.setReadOnly(true); } setRootComponent(textArea); }
stackTraceTextArea.setWordWrap(false); stackTraceTextArea.setValue(stackTrace); stackTraceTextArea.setStyleName(cubaLogContentClass);