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

java.awt.Component provides no support for lazy property change-notification

XMLWordPrintable

    • generic
    • generic

      Sub-classes of java.awt.Component (including Swing) always call
      firePropertyChange even if there are no listeners because there
      is no way for these classses to know this. However, supporting change
      notification is expensive because the values passed in the
      notification are often cloned or duplicated, even if they
      are composite values or containers (arrays, vectors, hashtables).
      It should be possible for sub-classes of java.awt.Component to
      efficiently determine if property change-notification is necessary
      _before_ constructing these duplicate values (see Suggested Fix).
      Accessible property changes could also be lazy.

            son Oleg Sukhodolsky (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: