benjamin84 / fest

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

Add 'select(String)' to JSpinner. #196

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Yvonne,

I have a JSpinner using SpinnerNumberModel with a default value of 3 and a 
range from
2 to 50. The editor's text field is not editable.
In my test case I have to set the spinner to 5. Currently my only option is
increment(2). This is OK for now, but the default value of 3 might change.
I think that a select(String) method would be useful.
If a checkbox's text field isn't editable and the range of values is too 
wide, it is
a case of bad UI design, the textbox should be made editable.
In other cases I really think that a select(String) method would be OK.

Thank you,
Csabi

Original issue reported on code.google.com by wanghy1...@gmail.com on 11 Aug 2008 at 5:02

GoogleCodeExporter commented 9 years ago
Added method 'select(Object)' in org.fest.swing.fixture.JSpinnerFixture.

Original comment by Alex.Rui...@gmail.com on 12 Oct 2008 at 6:48

GoogleCodeExporter commented 9 years ago
Thanks.

Best regards,
Csabi

Original comment by csaba.ju...@gmail.com on 12 Oct 2008 at 11:59

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 3:16