TOC PREV NEXT INDEX



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.

  1. Select the border layout by choosing it in the partlist in the composer
  2. Click on "Show empty panels" to show the empty spaces in it.
  3. Select Flow from the 'Layouts' page on the Object Palette.
  4. Click once on the "South" empty space of the border layout.
  5. Select Button from the 'Basic' page on the Object Palette.
  6. Click once in the empty space of the Flow you just created.
  7. Select 'TextField' from the 'Basic' page, and click once in the Flow Layout.
  8. Choose "Hide all empty panels" from the parts menu.

Next you will set up the properties of the items you created.

  1. Click once on the button you just created.
  2. Change the Object name to "searchFor".
  3. Change the Button text to "search for".
  4. Click once on the TextField you just created.
  5. Change the Object name to "nameToSearchFor".
  6. 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
TOC PREV NEXT INDEX