In this section we describe how todeal with one-to-many associationsin
visual programming.
Enhancethe GUI
Edit the RetrieveCustomerView that youlast edited in “CreateandDelete a
Customer” on page 96,and add a JTablethat lists the ownedAccountsofthe
displayed Customerobject (Figure 85).
Change the Type of the CustomerVariable
In the previous samples the Customer interface was usedas type ofthe
variable on the free-form surface.This worked fine so far, because only
connecti ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.