JPanel pathPanel = new JPanel(new BorderLayout());
JXToolBar pathToolbar = UISupport.createToolbar();
addPathEditorActions(pathToolbar);
pathArea = new JUndoableTextArea();
pathArea.setToolTipText("Specifies the XQuery expression to select from the message for validation");
pathPanel.add(pathToolbar, BorderLayout.NORTH);
pathPanel.add(new JScrollPane(pathArea), BorderLayout.CENTER);
splitPane.setTopComponent(UISupport.addTitledBorder(pathPanel, "XQuery Expression"));
JPanel matchPanel = new JPanel(new BorderLayout());
JXToolBar contentToolbar = UISupport.createToolbar();
addMatchEditorActions(contentToolbar);
contentArea = new JUndoableTextArea();
contentArea.setToolTipText("Specifies the expected result of the XQuery expression");
matchPanel.add(contentToolbar, BorderLayout.NORTH);
matchPanel.add(new JScrollPane(contentArea), BorderLayout.CENTER);