super("Stock Market Monitor");
setSize(400, 100);
addWindowListener(new BasicWindowMonitor());
monitor = monitorOn;
getContentPane().add(new JLabel("Trading is active. " +
"Close this window to close the market."),
BorderLayout.CENTER);
runner = new Thread(this);
runner.start();