title: The correct way to populate a JComboBox?
body: <p>I am currently building an application in Java on Eclipse as a self help guide to programming fundamentals and basic java programming, this is purely educational and for the sole purpose of being able to reference topics easily and practice my programming as I learn them by programming them into this tutorial application.</p>
  
  <p>The content of the application will expand as time goes on and as I learn more components of programming.</p>
  
  <p>So my first question comes down to correct form.</p>
  
  <p>I am using a drop down box (<code>JComboBox</code>) so as to select specific topics from within the GUI. I would like to populate the list and keep the program clean and tidy. So my question is how would one populate the <code>JComboBox</code> so as to limit cluttering code. Perhaps a text file from which I could add topics to separately and edit more efficiently? I am after correct programming procedure as opposed to all the ways I could do it. I know I could use an <code>ArrayList</code>, however I am keen to understand the choices taken when using large amounts of content as opposed to very little.</p>
  
  <p>Thanks,</p>
  
  <p>Simon</p>