Java Reference
In-Depth Information
Figure 4-6.
In the component palette, there are four trays of classes indicated by a button with the name of the components
(Swing Components, Swing Containers, Swing Menus, AWT Controls). Initially, the Swing Components tray is open.
The various component trays can be opened and closed by clicking on the component title buttons.
7.
Click the Swing Components button to close the tray, and then click the AWT Controls
button to display the AWT components.
Notice that the Label class is listed, as well as many other components. Clicking a listed component and then
clicking in the Design area will create and place the component on the frame. But, before we do that, we need to
specify some EmployeeFrame properties.
8.
In the Design area, click on the frame title bar to select it.
Notice that the Properties view (at the bottom of the screen) becomes active. The Properties view is very useful.
We will move it where the Outline view is currently displayed so that we can easily access it.
9.
Click and drag the Properties tab view to where the Outline view is currently displayed
(the far right of the screen).
 
Search WWH ::




Custom Search