FileDocCategorySizeDatePackage
TVTest.javaAPI DocExample526Wed Jan 27 11:34:16 GMT 1999None

TVTest

public class TVTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] av)
"main program" for testing TV by itself.

		TD td = new TD();
		JFrame jf = new JFrame("Testing TV");
		TV tv = new TV(jf, td);
		Exam tex = td.curX;
		Q q;
		tex.addQuestion(q=new Q(3));
		q.setQText("How much is the universe?", false);
		tex.addQuestion(q=new Q(3));
		q.setQText("Does time fly like a banana?", false);
		tv.installQVs();

		jf.getContentPane().add(tv);
		jf.pack();
		jf.setVisible(true);