CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How do I...

  1. #1
    Join Date
    May 2001
    Location
    Puerto Rico
    Posts
    26

    How do I...

    Someone can tell me how do I make an area in which the user can click on an arrow and increase the integer number in the area. I cant explain it very well... hope you understand what I mean. When the user clicks the number goes from 0 to 1, and if clicked again, the number increases from 1 to 2... etc.

    JNP

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: How do I...

    It's called a Spinner. AFAIK there isn't an official Sun spinner production release yet, but the 1.4 version of the SDK (Beta 3) has one, so you could grab the source for it to save you writing your own:

    http://java.sun.com/j2se/1.4/docs/gu...4/spinner.html

    Dave

    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured