<BUG>setFocusableWindowState(false);}</BUG><CONTEXT>list = new JList(model);JScrollPane sp = new JScrollPane(list);sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);setContentPane(sp);applyComponentOrientation(o);<extra_id_0>public void incSelection(int amount) {int selection = list.getSelectedIndex();selection += amount;</CONTEXT>
}public String getSelectedChoice() {return (String)list.getSelectedValue();}