Hi, I have a requirement where I need to display a file with a static block of text in the middle in a text area..where the user can modify the text above and below it... I was trying to use a JEditorPane for this, and as we can add components to the editor pane....I added a JTextArea ,a label and another JTextArea in sequence to the JEditorPane..now the static block text which the user can not modify becomes a label and the other text goes into the text areas above and below it and I added the JEditorPane to a JScrollPane so that it popus the Scrollbars when the text entered exceeds the size of the JEditorPane....... It does look good and works fine ...except that the JEditorPane does not popup the Scrollbars when the text exceeds the limit...and the text just scrolls down.. how can the scrollbars made to work... Thanks in advance!!