title: Creating another window for just displaying text + swing
body: <p>I currently have a window frame with panels inside and am using it to run my program. Now I am in a need to display text along with running of the code side by side.</p>
  
  <p>The problem with displaying it in the same window is that it minimizes the total screen area which I am using for input handling.</p>
  
  <p>Thus I decided to create a dialog box and dump all the text inside.</p>
  
  <p>This proved to be a bad decision as sometimes the output is really large and dialog boxes do not contain the scroll bar.</p>
  
  <p>Can anyone tell me what's the best way to proceed?</p>
  
  <p>I just want suggestions to what should I try and do not need any code part for it as I would like to do that on my own :)</p>