private void setJabriscaController(JabriscaController listener) {
		this.listener = listener;
		setJabriscaControllerBody(listener, null);

		// Set the listener to the menu components
		JMenuBar menuBar = this.getJMenuBar();
		for (int i = 0; i < menuBar.getComponentCount(); i++) {
			JMenu comp = (JMenu) menuBar.getComponent(i);
			setJabriscaControllerMenu(listener, comp);
		}
	}