Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4106311
Votes 67
Synopsis Swing is in dire need of a JSpinner class.
Category java:classes_swing
Reported Against 1.2.2 , 1.2beta2 , 1.2beta4
Release Fixed
State 11-Closed, duplicate of 4290529, request for enhancement
Priority: 4-Low
Related Bugs 4290529
Submit Date 23-JAN-1998
Description




There are Spinner-related classes in the com.sun.java.swing.basic
package, as well as some (non-functional) UI classes,
but no JSpinner!

A spinner control is a basic control which every
GUI library should have.  I really would like to
use Swing for all of my widgets, but I am forced
to use a third-party library for a Spinner.
(Review ID: 23904)
======================================================================




swing needs a JSpinner component for incrementing and decrementing number values. for anybody that dosen't know what a spinner is, on windows, double click on the time in your system tray and the Date/Time properties dialog comes up, the spinner is the little textfield with the time in it and two arrows to the right of it.
(Review ID: 93967)
======================================================================
Work Around
N/A
Evaluation
[aim 3/17/98]
This is definitely true.  (especially since the BasicColorChooser uses
a private, unfinished Spinner internally).

And after more than two years, it will finally have one. Refer to 4290529 for the details.
  xxxxx@xxxxx   2000-12-14
Comments
  
  Include a link with my name & email   

Submitted On 15-MAY-1998
ysharoni
We would also vote for making JSpinner 
an official control - It is more useful than Slider 
in most 'real world' applications.
Spinner/StringSpinner half-baked.


Submitted On 06-AUG-1998
mcdewey
A useful feature in JSpinner would be for the
incrementing/decrementing speed to increase the
longer a spinner button was held down.


Submitted On 27-JUL-1999
Kolbe
One feature that I would like to see in JSpinner when it comes out is the
ability to have a customized display of the value.  For example, in Windows the
Date/Time Properties dialog-box has a time chooser widget that displays the
time in HH:MM:SS AM/AP format.  The field (i.e. HH, MM, SS, AM/AP) that is
modified when a user clicks the up arrow is determined by what field is
currently selected.  I would like to see JSpinner allow a programmer to
customize it so that data that does not fit well in to ether a list of strings
or just plain numbers (i.e. int, float) can be displayed/chosen.


Submitted On 04-NOV-2000
abies
Kolbe - I suppose it will be done with ListCellRenderer, as
in JList and JComboBox. Every swing component allows you set
your own renderers/editors, so there is nothing to worry about.


Submitted On 21-NOV-2000
smithk10
Almost 3 years.  C# will be here before this one gets 
implemented.



PLEASE NOTE: JDK6 is formerly known as Project Mustang