Tutorial: Reading and Setting Discrete Parameters: Conclusion
You have successfully created a report with a discrete parameter value, created a helper method that can accept any set of values in a common format (an ArrayList), and applied those values to a report based on a specific parameter field name (the PARAMETER_FIELD_NAME constant).
You have also learned how to populate a ListBox control with the default values for a particular parameter field. You have learned how to retrieve the selected values from your ListBox and place them into an ArrayList, to recall the original helper method to change the list of parameter values and change the display of the report.
Note
You may want to work further with this tutorial and add a subreport into your report, and then configure that subreport with a range parameter. If so, proceed to the next tutorial, which modifies your current tutorial Tutorial: Reading and Setting Range Parameters for a Subreport.