import java.awt.*; public class HelloApp implements ProjectTests.ADBVTableClassInterface { private TextArea pta = null; /** * set the text area to write to * @param ta java.awt.TextArea */ public void setTextArea(TextArea ta) { pta = ta; } /** * Start the viewer - return true if can * @return boolean */ public boolean StartView() { if (pta != null) pta.append("Hello World from StartView in HelloApp\n"); else System.out.println("Hello World from StartView which does not know about pta"); return true; } public static void main (String argv[]) { System.out.println("This class should only be used in the Abstract Database Viewer"); } }