annotate EndTestPanel.java @ 52:76e99859bdb4
tip
Add class files for previous changes.
author |
Marcus Pearce <marcus.pearce@eecs.qmul.ac.uk> |
date |
Wed, 25 Feb 2015 10:11:04 +0000 |
parents |
be66ee2fe9fe |
children |
|
rev |
line source |
c@47
|
1 /*=============================================================================
|
c@47
|
2 * File: EndTestPanel.java
|
c@47
|
3 * Author: Carl Bussey <c.bussey@se10.qmul.ac.uk>
|
c@47
|
4 * Created: <2013-06-13 15:39:18 marcusp>
|
c@47
|
5 *=============================================================================
|
c@47
|
6 */
|
c@47
|
7
|
c@47
|
8 import java.awt.*;
|
c@47
|
9 import java.awt.event.*;
|
c@47
|
10 import javax.swing.*;
|
c@47
|
11
|
c@47
|
12 public class EndTestPanel extends EndBlockPanel {
|
c@47
|
13
|
c@47
|
14 public EndTestPanel(Experiment e){
|
c@47
|
15 super(e);
|
c@47
|
16 setUp("Exit");
|
c@47
|
17 }
|
c@47
|
18
|
c@47
|
19 protected String formatMessage() {
|
c@47
|
20 sb.append("<html><font size=\"+1\" face=\"sans\"><p align=center>");
|
c@47
|
21 sb.append("That is the end of the listening activity.");
|
c@47
|
22 sb.append("<br>");
|
c@47
|
23 sb.append("Thank you for participating with our study.");
|
c@47
|
24 sb.append("<br>");
|
c@47
|
25 sb.append("Press the button below to exit.");
|
c@47
|
26 sb.append("</p></html>");
|
c@47
|
27
|
c@47
|
28 return sb.toString();
|
c@47
|
29 }
|
c@47
|
30 } |