JButton execute = new JButton("Execute");
execute.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
InteractiveTest interactiveTest = viewContext.get(InteractiveTest.class);
InteractiveTestRunner runner = new SingleThreadInteractiveTestRunner();
runner.addInteractiveTest(interactiveTest);
runner.run();
}
});
panel.add(new JLabel("Interactive Test : "), "0,0,r,FULL");
panel.add(tests, "2,0,FULL,FULL");