public MenuKeyPreferences(PreferencesWindow owner) {
		super(MENU_KEYS, owner);
		setLayout(new BorderLayout());
		mPanel = new BandedPanel(MENU_KEYS);
		mPanel.setLayout(new ColumnLayout(2, 5, 0));
		mPanel.setBorder(new EmptyBorder(2, 5, 2, 5));
		mPanel.setOpaque(true);
		mPanel.setBackground(Color.WHITE);
		for (Command cmd : StdMenuBar.getCommands()) {
			JButton button = new JButton(KeyStrokeDisplay.getKeyStrokeDisplay(KeyStroke.getKeyStroke('Z', InputEvent.META_MASK | InputEvent.ALT_MASK | InputEvent.CTRL_MASK | InputEvent.SHIFT_MASK)));
			UIUtilities.setOnlySize(button, button.getPreferredSize());
			button.setText(getAcceleratorText(cmd));
			mMap.put(button, cmd);
			button.addActionListener(this);
			mPanel.add(button);
			JLabel label = new JLabel(cmd.getTitle());
			mPanel.add(label);
		}
		mPanel.setSize(mPanel.getPreferredSize());
		JScrollPane scroller = new JScrollPane(mPanel);
		Dimension preferredSize = scroller.getPreferredSize();
		if (preferredSize.height > 200) {
			preferredSize.height = 200;
		}
		scroller.setPreferredSize(preferredSize);
		add(scroller);
	}