Using Non-Component Locators: About this Lesson


When you test an application that was created using a toolkit that does not extend Java AWT, you need a locator object to translate GUI location data for JavaStar. In the case of the Marimba Bongo, Netscape IFC, and the KL Group's JClass toolkits, JavaStar provides locators. For other toolkits, you need to write your own.

This lesson introduces the concept of locators and describes how to write your own. Because locators vary in implementation (the actual content of the methods used) depending on the toolkit, this lesson does not guide you through the detailed process of creating a specific locator. Instead, it provides the information you need to evaluate your toolkit and use the JavaStar API to create a locator appropriate to the toolkit.

After completing this lesson, you should be able to:




Send feedback to JavaStar-feedback@suntest.com
Copyright © 1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, CA 94303. All rights reserved.