String (XStackFrame frame) { TextTransferable.ColoredStringBuilder builder = new TextTransferable.ColoredStringBuilder(); frame.customizePresentation(builder); return builder.getBuilder().toString(); }