cp.add(BorderLayout.CENTER,
timesPanel.add(BorderLayout.CENTER,
	public BreakEnd(String s) {		super("Java Breaker: " + s);		setBackground(Color.white);		setForeground(Color.red);		Container cp;		cp = getContentPane();		// cp = this;		cp.setLayout(new BorderLayout());		cp.add(BorderLayout.NORTH,			nowLabel =  new JLabel("Time now is: 00:00:00", JLabel.CENTER));			String mesg = null;		if (s.startsWith("+")) {	// "This will be HARDer..."			Calendar d = new GregorianCalendar();			int newMinutes = d.get(Calendar.MINUTE)+				Integer.parseInt(s.substring(1))+1;			d.set(Calendar.MINUTE, newMinutes);			mesg = "Class resumes at " + toHHMM_String(d);		} else {			mesg = "Class resumes at " + s + " ";		}		cp.add(BorderLayout.CENTER,			endsLabel = new JLabel(mesg, JLabel.CENTER));		setFontSize(40);		JButton b;		cp.add(BorderLayout.SOUTH, b = new JButton("Done"));		b.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				System.exit(0);			}		});		(t = new Thread(this)).start();		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		addComponentListener(new ComponentAdapter() {			public void componentResized(ComponentEvent e) {				Dimension d = getSize();				if (d.height < 100)					setFontSize(72);				else					setFontSize(d.height/6);			}		});	}