home *** CD-ROM | disk | FTP | other *** search
Java Source | 1999-02-11 | 1.2 KB | 51 lines |
- /** Generated by JavaStar Java GUI Testing Tool
- * Do not modify anything before the setup() method
- */
-
- import suntest.javastar.lib.*;
- import java.awt.*;
- import NameData.*;
-
- public class CloseSearch extends Script {
-
- static int Do_Not_Remove_This_JavaStar_Identifier;
- private static String Name = "CloseSearch";
- private static CloseSearch X = new CloseSearch();
-
- private static String[] Args = {};
- public String[] getAppArgs(){ return Args; }
-
- public String getAppClass(){ return "namedb"; }
-
- public void run() throws Throwable {
- namedb.main(Args);
- }
-
- public static void main(String[] args) throws Throwable {
- setup();
- try{
- args = JS.processPlayerArgs(args);
- X.setGold(JS.goldenDirectory(Name,null));
- JS.playbackInit(Name);
- JS.startApplication(X);
- X.play(args);
- cleanup();
- JS.playbackEnd(Name,true);
- } catch(Throwable t){
- cleanup();
- JS.playbackEnd(Name,t);
- }
- }
-
- public static void setup() throws Throwable {
- }
-
- public static void cleanup() throws Throwable {
- }
-
- public void play(String[] args) throws Throwable {
- JS.frame("Search").button("Close").buttonPress();
-
- }
- }
-