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

JSpinner.setModel() not updating the display.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta
    • x86
    • generic
    • Verified

      I tried setting a model to a spinner. It does not work, meaning that the display is not getting updated with the desired model.
        
        The following works:
          SpinnerDateModel dateModel = new SpinnerDateModel();
          JSpinner spin = new JSpinner(dateModel);
          
        The follwing does not work:
          SpinnerDateModel dateModel = new SpinnerDateModel();
          JSpinner spin = new JSpinner();
          spin.setModel(dateModel);

            sswingtrsunw Swingtraq Swingtraq (Inactive)
            sramansunw Sridhar Raman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: