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

add API to SwingPropertyChangeSupport to notify listeners on EDT

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • None
    • b39
    • generic
    • generic

      SwingPropertyChangeSupport does not provide any advantages over java.beans.PropertyChangeSupport.

      I suggest to add an API to to it to notify listeners on the Event Dispatch Thread.

      One new constractor is to be added:

          /**
           * Constructs a SwingPropertyChangeSupport object.
           *
           * @param sourceBean the bean to be given as the source for any events
           * @param isAsynchronous whether to notify listeners on the <i>Event
           * Dispatch Thread</i>
           * @since 1.6
           */
          public SwingPropertyChangeSupport(Object sourceBean, boolean isAsynchronous) {
      ###@###.### 2005-04-12 19:24:20 GMT

            idk Igor Kushnirskiy (Inactive)
            idk Igor Kushnirskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: