JSpinner.setModel() not updating the display.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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);

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: