int
main
	(
	int		argc,
	char*	argv[]
	)
{
	ParseTextOptions(&argc, argv);

	JXApplication* app = new JXApplication(&argc, argv, "testj2dplot", kDefaultStringData);
	assert( app != NULL );

	Test2DPlotDirector* dataDir = new Test2DPlotDirector(app);
	assert( dataDir != NULL );
	TestData(dataDir);

	Test2DPlotDirector* logDataDir = new Test2DPlotDirector(app);
	assert( logDataDir != NULL );
	TestLogData(logDataDir);

	Test2DPlotDirector* vectorDir = new Test2DPlotDirector(app);
	assert( vectorDir != NULL );
	TestVector(vectorDir);

	logDataDir->Activate();
	dataDir->Activate();
	vectorDir->Activate();
	app->Run();
	return 0;
}
int
main
	(
	int		argc,
	char*	argv[]
	)
{
	ParseTextOptions(&argc, argv);

	JXApplication* app = new JXApplication(&argc, argv, "testj3d", kDefaultStringData);
	assert( app != NULL );

	Test3DDirector* mainDir = new Test3DDirector(app);
	assert( mainDir != NULL );

	mainDir->Activate();
	app->Run();
	return 0;
}
int
main
	(
	int		argc,
	char*	argv[]
	)
{
	JXApplication* app =
		new JXApplication(&argc, argv);
	assert( app != NULL );

//	TreeTestDir* dir = new TreeTestDir(app);
//	dir->Activate();
//
//	TreeTestDir2* dir2 = new TreeTestDir2(app);
//	dir2->Activate();
//
	TreeTestDir3* dir3 = new TreeTestDir3(app);
	dir3->Activate();

	app->Run();				// never actually returns
	return 0;
}
int
main
	(
	int		argc,
	char*	argv[]
	)
{
	// Create the application object - one per program
	JXApplication* app = 
		jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
	assert( app != NULL );

	// Create the window director
	DNDWidgetDir* mainDir = jnew DNDWidgetDir(app);
	assert( mainDir != NULL );

	// Activate the window director
	mainDir->Activate();
	
	// Start the event loop
	app->Run();				
	return 0;
}
int
main
	(
	int		argc,
	char*	argv[]
	)
{
	// Create the application object - one per program
	JXApplication* app = 
		new JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
	assert( app != NULL );

	// Create the window director to maintain the Hello World window
	DialogHelloDir* mainDir = new DialogHelloDir(app);
	assert( mainDir != NULL );

	// Show the window and activate it
	mainDir->Activate();
	
	// Start the event loop
	app->Run();				
	return 0;
}