Java Reference
In-Depth Information
10.
Change all five labels so that:
They are 120 in length
Their text is right justified
They are right aligned to each other
They are distributed evenly vertically between the header and the button
They are 74 pixels from the left
11.
Change the text for each label to the following:
Employee Number:
Shipment Number:
Date Received:
Time Received:
Supplier Name:
12.
Add five text fields called: empNumTF, shipNumTF, dateTF, timeTF, supplTF with lengths
of 50, 50, 75, 75, and 150, then left-align them to each other.
13.
Align each text field horizontally with the appropriate label and separate them by 10 pixels.
14.
Rename the button enterBTN and change the button label to Enter.
The design pane should look like Figure 5-12 .
Figure 5-12.
In the source code, change the initialize method to:
15.
Create a Shipment object with blanks for all the properties and assign it to the class
variable ship.
Search WWH ::




Custom Search