title: How to display text on JFrame or JPanel?
body: <p>I want to display some text on a window, should I use <code>JFrame</code> or <code>JFanel</code>?  What is the difference between those two and how can I add text to a window?</p>
  
  <p>I am using eclipse, please help me.</p>