private void initUI() {
//main part of panel shows grid of 4 message areas: outbound on top; inbound on bottom
// and plain text on left, tree on right
this.setLayout(new BorderLayout());
outboundText = new JTextArea(10, 10); JScrollPane outTextScroll = new JScrollPane(outboundText);
outboundTree = new TreePanel(this.pparser); JScrollPane outTreeScroll = new JScrollPane(outboundTree);
inboundText = new JTextArea(10, 10); JScrollPane inTextScroll = new JScrollPane(inboundText);
inboundTree = new TreePanel(this.pparser); JScrollPane inTreeScroll = new JScrollPane(inboundTree);
JSplitPane outbound = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, addTitle(outTextScroll, " Outbound Message Text "), addTitle(outTreeScroll, " Outbound Message Tree "));
JSplitPane inbound = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, addTitle(inTextScroll, " Inbound Message Text "), addTitle(inTreeScroll, " Inbound Message Tree "));
messages = new JSplitPane(JSplitPane.VERTICAL_SPLIT, true, outbound, inbound);