Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4175364

Adding Swing field widgets which handle numeric input

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs



      Name: clC74495 Date: 09/22/98


      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 good 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 good work
      (Review ID: 37094)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: