What is the java Gui control for incrementing and decrementing a field?
I need an up and a down arrow. Clicking the arrows increases or decreases
a number in the field. Is there anything in Java like this?
example :
field : number ^
V
clicking the ^ causes number to increase
clicking V causes number to decrease
Thank you,
Gil
Karl Tauber - 28 Apr 2005 10:27 GMT
> What is the java Gui control for incrementing and decrementing a field?
>
[quoted text clipped - 9 lines]
>
> clicking V causes number to decrease
javax.swing.JSpinner ;-)
http://java.sun.com/docs/books/tutorial/uiswing/components/spinner.html
Karl
Gil - 29 Apr 2005 14:20 GMT
Hi Karl,
> javax.swing.JSpinner ;-)
>
> http://java.sun.com/docs/books/tutorial/uiswing/components/spinner.html
>
> Karl
Thanks for the info!
Gil