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

Add protected createTextField method to ComboBox and DatePicker

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: javafx

      Description

      We have a requirement to provide a subclass of TextField for the ComboBox and DatePicker. Right now the editorProperty is read-only so we can't set it. If you can change new TextField() code in the editorProperty() method to createTextField() which is defined like this, it would be sufficient enough for us.

      protected TextField createTextField() {
          return new TextField();
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              dqiaojfx David Qiao (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Imported: