frame.getContentPane().add(progressBar);
/** Key bindings. */
final Map<Integer,Action> keyToActionMap = new TreeMap<Integer, Action>();
keyToActionMap.put(KeyEvent.VK_ESCAPE, new graphAction("terminate", "terminates this program") {
/**
* ID for serialisation.
*/
private static final long serialVersionUID = -2461712095106080046L;