public static StartStopPanel startStopPanel(final F0<P0> startF) {
		StartStopPanel panel = new StartStopPanel();
		panel.setLayout(new FlowLayout());
	
		final JButton startBtn = new JButton("Start");
		if (startF==null) {
			startBtn.setEnabled(false);
		}
		final JButton stopBtn = new JButton("Stop");
		stopBtn.setEnabled(false);
	
		final P0[] stopF = {null};
		panel.stopF = stopF;
		P0 startF1 = new P0() {public void e() {
			startBtn.setEnabled(false);
			stopBtn.setEnabled(true);
			
			final P0 stopF1 = startF.e();
	
			stopF[0] = new P0() {public void e() {
				startBtn.setEnabled(true);
				stopBtn.setEnabled(false);
				
				stopF1.e();
			}};
		}};
		startBtn.addActionListener(SwingUtil.toActionListener(startF1));
		stopBtn.addActionListener(SwingUtil.toActionListener(Fs.invokeRef(stopF)));
			
		panel.add(startBtn);
		panel.add(stopBtn);
		return panel;
	}