Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / April 2005

Tip: Looking for answers? Try searching our database.

Java gui control for incrementing and decrementing a field?

Thread view: 
Gil - 28 Apr 2005 08:45 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.