title: Vertical scrollpane problem in JDialog
body: <p>I am doing a project in Java Swing.  I have a <code>JDialog</code> which contains lot of text.  I want the <code>JDialog</code> to be small and have a vertical scrollbar so that user can scroll to see the information in the <code>JDialog</code>.  How can I get a vertical scrollbar for my <code>JDialog</code>?</p>
  
  <p>Any suggestions would be helpful.</p>