![]() |
![]() |
![]() |
![]() |
Create the layout
Our application has a very simple layout.
- From the 'Layouts' page on the Object Palette, choose 'Border' and click once in the Empty Space in the Working Model.
- Select JScrollPane (Scroll) from the 'Swing 2' page, and click once in the Center of the Border Layout. a 'viewport' will appear in the Center.
- Select Table from the 'Swing 2' page, and click once in the viewport in the Center of the Border Layout.
- From the 'Layouts' page on the Object Palette, choose 'Flow' and click once in the Empty Space in the 'North' of the Border Layout.
- Select Label from the 'Swing 1' page, and click once in the Flow Layout.
- Select TextField from the 'Swing 2' page, and click once in the Flow Layout.
- From the Part List at the top of the Composer window, choose 'border1'. Uncheck 'Show Empty Panel'. Do the same for 'flow4'.
We will now set up some of the properties for the parts which we have just added.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |