benjamin84 / fest

Automatically exported from code.google.com/p/fest
0 stars 0 forks source link

Selecting item in JComboBox with a lot of items does not scroll to item to select #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Rich:

I've got a JComboBox that contains quite a few items in the list, so
it has a scroll bar when I click on it.  If I get a reference to the
JComboBoxFixture and call selectItem() with a value that is in the
drop down list, but requires me to scroll to it, the value is not
actually selected, and FEST doesn't show any errors or anything.  Do I
have to scroll to where the value I want to select shows up, or is
there another way of selecting an item without having to scroll to
it?

Original issue reported on code.google.com by Alex.Rui...@gmail.com on 26 Feb 2008 at 11:54

GoogleCodeExporter commented 9 years ago
I encountered the same problem. There is also another sideeffect. As soon as 
the list
is long enough that a scroll bar is necessary, even if I select one of the 
visible
items, the previous item in the list is chosen.

Original comment by manuel.k...@gmail.com on 4 Mar 2008 at 10:41

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by wanghy1...@gmail.com on 17 Mar 2008 at 3:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Set the module as a label, instead of being part of the title.

Original comment by Alex.Rui...@gmail.com on 1 Dec 2008 at 1:52