title: What is an effective way to collect data in Java?
body: <p>Scenario: I have a GUI with various components in which the user can choose options. I would like these options to be collected into a single place where then the user can send that information to me. What might be the most reasonable place to store the information?</p>
  
  <p>EDITED:
  The GUI is already made up of the parts containing the options that a user has. For example, one JComboBox gives a list of the options that one can choose. Then I got it to print as <code>System.out.println(User choice);</code> All the other components follow the same pattern; all the information is printed through <code>System.out.println();</code> Now instead of printing this way, I was looking for a reasonable place to write these informations. </p>