public static JButton btn(final String title, Color color, final F0<P0> actionF) {
		final JButton button = new JButton("Please wait...");
		
		if (color != null) {
			button.setForeground(color);
		}
		button.setEnabled(false);
		
		ThreadUtil.run(new Runnable() {public void run() {
			P0 action = actionF.e();
			button.setText(title);
			if (action != null) {
				button.setEnabled(true);
				button.addActionListener(SwingUtil.toActionListener(action));
			}
		}});
		
		return button;
	}