Allow the user to select output options (Java)

Rather than tell the user what format the report output will be, have your program ask the user to select the output option.

The OrderReportJava demo program presents a form that allows the user to make the choice regarding the output.

Figure: Order Report demo (GRW for Java)

Screen shot of the OrderReportJava application user interface.

To view the code that creates this interface and uses the user's selection to set the output options, examine the file OrderReportJava.java.