Java Reference
In-Depth Information
5.
Write the source code so that after entering information and pressing the Enter button,
the Item Number and Box Number text fields are blank and a message saying how many
items have been specified are displayed.
The application logic should correspond to Figure
5-15
.
Figure 5-15.
For instance, entering 99 for item number, 1 for box number, 2 for shipment, and clicking the Enter button should
result in a frame that looks like Figure
5-16
.