add(splitPane, java.awt.BorderLayout.CENTER);
add(splitPane, BorderLayout.CENTER);
    public ConversationPanel() {        _requestPanel = new RequestPanel();        _responsePanel = new ResponsePanel();                setLayout(new java.awt.BorderLayout());                JSplitPane splitPane = new JSplitPane();        splitPane.setOneTouchExpandable(true);        add(splitPane, java.awt.BorderLayout.CENTER);        splitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);        _requestPanel.setBorder(new TitledBorder("Request"));        splitPane.setTopComponent(_requestPanel);        _responsePanel.setBorder(new TitledBorder("Response"));        splitPane.setBottomComponent(_responsePanel);        String dividerLocation = Preferences.getPreference("ConversationPanel.dividerLocation");        if (dividerLocation != null) {            try {                splitPane.setDividerLocation(Integer.parseInt(dividerLocation));            } catch (NumberFormatException nfe) {}        }        splitPane.addPropertyChangeListener(new PropertyChangeListener() {            public void propertyChange(PropertyChangeEvent e) {                if (e.getPropertyName().equals("dividerLocation")) {                    Preferences.setPreference("ConversationPanel.dividerLocation", e.getNewValue().toString());                }            }        });            }