@@ -0,0 +1,1784 @@
+package org.mastodon.trackmate;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.Locale;%0A%0Aimport javax.swing.UIManager;%0Aimport javax.swing.UnsupportedLookAndFeelException;%0A%0Aimport org.mastodon.revised.mamut.MainWindow;%0Aimport org.mastodon.revised.mamut.MamutProject;%0Aimport org.mastodon.revised.mamut.WindowManager;%0Aimport org.scijava.Context;%0A%0Aimport mpicbg.spim.data.SpimDataException;%0A%0Apublic class TestDrive%0A%7B%0A%0A%09public static void main( final String%5B%5D args ) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException, IOException, SpimDataException%0A%09%7B%0A%09%09UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName() );%0A%09%09Locale.setDefault( Locale.ROOT );%0A%09%09System.setProperty( %22apple.laf.useScreenMenuBar%22, %22true%22 );%0A%09%09final Context context = new Context();%0A%0A%09%09final String bdvFile = %22../TrackMate3/samples/mamutproject/datasethdf5.xml%22;%0A//%09%09final String bdvFile = %22/Users/Jean-Yves/Desktop/MaMuT_demo_dataset/MaMuT_Parhyale_demo.xml%22;%0A//%09%09final String bdvFile = %22/Users/pietzsch/Desktop/data/MAMUT/MaMuT_demo_dataset/MaMuT_Parhyale_demo.xml%22;%0A//%09%09final String bdvFile = %22/Users/tinevez/Projects/JYTinevez/MaMuT/MaMuT_demo_dataset/MaMuT_Parhyale_demo.xml%22;%0A//%09%09final String bdvFile = %22/Users/tinevez/Projects/JYTinevez/MaMuT/MaMuT_demo_dataset/MaMuT_Parhyale_demo.xml%22;%0A//%09%09final String projectFile = %22../TrackMate3/samples/mamutproject%22;%0A%0A%09%09final WindowManager windowManager = new WindowManager( context );%0A%09%09final MainWindow mw = new MainWindow( windowManager );%0A%0A//%09%09final MamutProject project = new MamutProjectIO().load( projectFile );%0A%09%09final MamutProject project = new MamutProject( null, new File( bdvFile ) );%0A%09%09windowManager.getProjectManager().open( project );%0A%0A%09%09mw.setVisible( true );%0A%09%7D%0A%7D%0A

Test drive for mastodon-tracking.