text.setEditable(false);
		public DescriptiveChooser(Object[] elements) {			super(new BorderLayout());			this.elements = elements;			text = new JTextArea(5,20);			text.setLineWrap(true);			text.setWrapStyleWord(true);			add(new JScrollPane(text));						prev = new JButton("<");			prev.setMargin(new Insets(0,0,0,0));			add(prev, BorderLayout.WEST);			next = new JButton(">");			next.setMargin(new Insets(0,0,0,0));			add(next, BorderLayout.EAST);						setSelectedIndex(0);						prev.addActionListener(new ActionListener() {				public void actionPerformed(ActionEvent e) {					setSelectedIndex(selectedIndex-1);				}			});			next.addActionListener(new ActionListener() {				public void actionPerformed(ActionEvent e) {					setSelectedIndex(selectedIndex+1);				}			});		}