![]() |
![]() |
![]() |
![]() |
Adding another query to the application
Finally, we will create a second query, this one answering the question "is there a description which contains the word 'java' ?"
First you must add few more items to the user interface.
- Select the border layout by choosing it in the partlist in the composer
- Click on "Show empty panels" to show the empty spaces in it.
- Select Flow from the 'Layouts' page on the Object Palette.
- Click once on the "South" empty space of the border layout.
- Select Button from the 'Basic' page on the Object Palette.
- Click once in the empty space of the Flow you just created.
- Select 'TextField' from the 'Basic' page, and click once in the Flow Layout.
- Choose "Hide all empty panels" from the parts menu.
Next you will set up the properties of the items you created.
- Click once on the button you just created.
- Change the Object name to "searchFor".
- Change the Button text to "search for".
- Click once on the TextField you just created.
- Change the Object name to "nameToSearchFor".
- Set the Number of columns to 20.
You have now made the final additions to the user interface of your application.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |