{
// parse arguments
int[] featdim = MEAPUtil.parseFeatDim(args,"i:");
String filename = args[args.length-1];
FeatFile f = new FeatFile(filename);
try
{
f.readFile();
}
catch(Exception e)
{
e.printStackTrace();
System.exit(1);
}
DataDisplayPanel p = new DataDisplayPanel(f.getFeatures(featdim), filename);
JFrame jframe = new JFrame(p.getClass().getName() + ": " + filename);
jframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jframe.setContentPane(p);
jframe.pack();