Using the Selected Value

With all of the code now implemented in the MakeSheet, Stock and StockHandler classes, as well as in the VMSSheetManager.open-sheet method, we can execute the Car Manufacturer Inventory Search wizard control and see the user's selection value passed to a window that displays the stock data. But before we re-run the application, we must add the new classes into the import statement. The additional code required is shown in Figure 14-27.

Having changed the VMS Motors import statement with the new classes listed in Figure 14-27, we can now re-run the application to see how the Car Manufacturer Inventory Search wizard controls work once a particular manufacturer is selected. Figure 14-28 shows the application after the user ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.