getRootPane().addKeyListener(keyHandler); words.addKeyListener(keyHandler);
	public CompleteWord(View view, String word, Vector completions,		Point location)	{		super(view);		this.view = view;		this.word = word;		words = new JList(completions);		words.setVisibleRowCount(Math.min(completions.size(),8));		words.addMouseListener(new MouseHandler());		words.setSelectedIndex(0);		words.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);		// stupid scrollbar policy is an attempt to work around		// bugs people have been seeing with IBM's JDK -- 7 Sep 2000		JScrollPane scroller = new JScrollPane(words,			JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,			JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);		getContentPane().add(scroller, BorderLayout.CENTER);		GUIUtilities.requestFocus(this,words);		show();		pack();		setLocation(location);		KeyHandler keyHandler = new KeyHandler();		addKeyListener(keyHandler);		view.setKeyEventInterceptor(keyHandler);	}