Re: Java gui control for incrementing and decrementing a field?
- From: Karl Tauber <karl@xxxxxxxxxxx>
- Date: Thu, 28 Apr 2005 11:27:27 +0200
Gil wrote:
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
javax.swing.JSpinner ;-)
http://java.sun.com/docs/books/tutorial/uiswing/components/spinner.html
Karl .
- Follow-Ups:
- References:
- Prev by Date: revalidate() vs. repaint()?
- Next by Date: Re: JTextPane Paste
- Previous by thread: Java gui control for incrementing and decrementing a field?
- Next by thread: Re: Java gui control for incrementing and decrementing a field?
- Index(es):
Relevant Pages
|