Goal: Create the user interface for the SUP101Sample application.
Prerequisites
Obtain the text files that contain the code snippets you need to build the user interface from the
SUP_BB_Custom_Dev_Tutorial_code.zip file. The code snippets are used to create these classes:
CustomerSample,
CustomerList, and
CustomerSampleScreen.
Task- In Package Explorer, right-click SUP101Sample, and select .
- For the Name, enter com.sybase.sup.samples.objectapi and click Finish.
- Right-click the com.sybase.sup.samples.objectapi package and select .
- For the Name, enter CustomerSample, and click Finish.
- In the CustomerSample.java file, copy and paste the code from the provided CustomerSample.java text file.
Overwrite any existing contents. The provided code creates the main Customer application.

- Save the CustomerSample.java file.
The package contains errors until you create the two other classes. Ignore these errors and continue.
- Right-click the com.sybase.sup.samples.objectapi package, and select .
- For Name, enter CustomerList, and click Finish.
- In the CustomerList.java file, copy and paste the code from the provided CustomerList.java text file.
Overwrite any existing contents.

- Save the CustomerList.java file.
Ignore the errors, which resolve once you create the next class.
- Right-click the com.sybase.sup.samples.objectapi package, and select .
- For Name, enter CustomerSampleScreen, and click Finish.
- In the CustomerSampleScreen.java file, copy and paste the code from the provided CustomerSampleScreen.java text file.
Overwrite any existing contents.

- Save the CustomerSampleScreen.java file.