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: 4175364
Votes 1
Synopsis Adding Swing field widgets which handle numeric input
Category java:classes_swing
Reported Against 1.2beta4
Release Fixed
State 11-Closed, duplicate of 4290529, request for enhancement
Priority: 4-Low
Related Bugs 4290529
Submit Date 22-SEP-1998
Description




The Swing set of widgets is pretty comprehensive.
However, it still lacks, like AWT did, widgets
like JTextField which only allow valid numeric
input. Wouldn't it be a  customer  idea to add something
like JIntegerField and JDoubleField to allow only
integer and double entries, with probably some
means of further restricting the range? Of course,
one could always create these from JTextField, but
having them in the standard set is an obvious
bonus, and I believe they are general enough to be
part of the api. They wouldn't require much work
to program, either, although something like spin
buttons would be a nice touch.

Cheers, and keep up the  customer  work
(Review ID: 37094)
======================================================================
Work Around
N/A
Evaluation
For merlin, we are planning to add an enhanced field.
  xxxxx@xxxxx   2000-03-22

This feature can be tracked through bug 4290529, which I am closely this out as a dup of.
  xxxxx@xxxxx   2000-07-21
Comments
  
  Include a link with my name & email   

Submitted On 30-SEP-1998
dflett
A lightweight spin box would be of help to us



PLEASE NOTE: JDK6 is formerly known as Project Mustang