public static Component checkboxInline(String title, boolean checked,
			final P1<Boolean> update) {
		
		final JCheckBox cb = checkbox(checked, update);
		JLabel label = new JLabel(title);
		onClick(label, new P0() {public void e() {
			cb.requestFocus();
			boolean selected = !cb.isSelected();
			cb.setSelected(selected);
			update.e(selected);
		}});
		return panel(label, cb);
	}