Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem with Spinner
Problem with Spinner [message #461371] Wed, 21 September 2005 14:18 Go to next message
Eclipse UserFriend
Originally posted by: ssc.acentic.net

Hi

I like to make a date selector with a spinner widget like this :

spinner_year.setSelection(2005);
spinner_year.setMinimum(2005);
spinner_year.setMaximum(2006);

but the shows up as 100. Any idea ???

Sebastian
Re: Problem with Spinner [message #461377 is a reply to message #461371] Wed, 21 September 2005 15:09 Go to previous message
Eclipse UserFriend
Originally posted by: ssc.acentic.net

Looks like it was just a problem of the order of how I set the values ;)


> Hi
>
> I like to make a date selector with a spinner widget like this :
>
> spinner_year.setSelection(2005);
> spinner_year.setMinimum(2005);
> spinner_year.setMaximum(2006);
>
> but the shows up as 100. Any idea ???
>
> Sebastian
Previous Topic:How to make a view aware of selection in another view
Next Topic:How to add Dynamic GUI components
Goto Forum:
  


Current Time: Mon Sep 16 20:39:43 GMT 2019

Powered by FUDForum. Page generated in 0.01868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top