title: Populating JCombobox with a text file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3173149/how-do-i-populate-jcombobox-from-a-text-file">How do I populate JComboBox from a text file?</a>  </p>
  </blockquote>
  
  
  
  <p>I am new to programming Java  with only 2 months of experience. Can anyone help me to populate a <code>JComboBox</code> with a text file, consisting of 5 lines? I have looked at code on Google, but I keep getting errors. </p>