} else if (message.getMode()==Message.APPEND_MODE) {
// WARNING: Message box's contents can't be found with findDeepestArgument() if they have a null argument.
BoxWord gapBox = new BoxWord(KET_PANEL, "|", 0L);
messageBoxList = BoxTools.centredHorizontalBoxList(KET_PANEL, 0L, startBoxWord, gapBox, endBoxWord);
//- messageBox = new BorderedBox(MESSAGE, messageBoxList, Box.X_CENTRE_ALIGN|Box.BOTTOM_ALIGN, false, colourScheme.getPlainTextColour(), colourScheme);
messageBox = new BorderedBox(MESSAGE, messageBoxList, Box.X_CENTRE_ALIGN|Box.BOTTOM_ALIGN, false, colourScheme);
} else if (messageString.length()>0) { // Echo and error modes.
// TODO: Don't display the cursor in error or echo responder: only in edit responder.
messageBoxList = BoxTools.centredHorizontalBoxList(MESSAGE, 0L, startBoxWord, endBoxWord);
//- messageBox = new BorderedBox(MESSAGE, messageBoxList, Box.X_CENTRE_ALIGN|Box.BOTTOM_ALIGN, false, colourScheme.getPlainTextColour(), colourScheme);
messageBox = new BorderedBox(MESSAGE, messageBoxList, Box.X_CENTRE_ALIGN|Box.BOTTOM_ALIGN, false, colourScheme);
} else {
this.messageBoxList = null;
this.messageBox = null;
}
}