rawTextArea.setText(_request.toString());
_textPanel.setBytes(_request.toString("\n").getBytes());
    private void updatePanel(int panel) {        if (!_upToDate[panel]) {            if (panel == 0) {// parsed text                _messagePanel.setMessage(_request);                if (_request != null) {                    methodTextField.setText(_request.getMethod());                    urlTextField.setText(_request.getURL().toString());                    versionTextField.setText(_request.getVersion());                } else {                    methodTextField.setText("");                    urlTextField.setText("");                    versionTextField.setText("");                }            } else if (panel == 1) {// bean shell                _beanShellPanel.setRequest(_request);            } else if (panel == 2) { // raw text                if (_request != null) {                    rawTextArea.setText(_request.toString());                } else {                    rawTextArea.setText("");                }                rawTextArea.setCaretPosition(0);            }            _upToDate[panel] = true;        }    }