Mercurial > hg > mep
view EndTestPanel.java @ 48:f3261bd3dd49
Added the functionality of being able to run a post-run batch (windows only) or unix script read from a file specified by the run arguments.
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Sun, 16 Jun 2013 17:06:25 +0100 |
parents | be66ee2fe9fe |
children |
line wrap: on
line source
/*============================================================================= * File: EndTestPanel.java * Author: Carl Bussey <c.bussey@se10.qmul.ac.uk> * Created: <2013-06-13 15:39:18 marcusp> *============================================================================= */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class EndTestPanel extends EndBlockPanel { public EndTestPanel(Experiment e){ super(e); setUp("Exit"); } protected String formatMessage() { sb.append("<html><font size=\"+1\" face=\"sans\"><p align=center>"); sb.append("That is the end of the listening activity."); sb.append("<br>"); sb.append("Thank you for participating with our study."); sb.append("<br>"); sb.append("Press the button below to exit."); sb.append("</p></html>"); return sb.toString(); } }