super("Dynamic Data Test");
setSize(300, 200);
addWindowListener(new BasicWindowMonitor());
// set up our table model with a 5 second polling delay
MarketDataModel mdm = new MarketDataModel(5);
// Pick which stocks we want to watch . . .
mdm.setStocks(new int[] { 0, 1, 2 });
// And pop up the table
JTable jt = new JTable(mdm);
JScrollPane jsp = new JScrollPane(jt);
getContentPane().add(jsp, BorderLayout.CENTER);