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