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

JComponent.add/removeNotify() should mention that they are not supposed to be called directly

XMLWordPrintable

    • b120
    • generic
    • generic
    • Verified

      The following methods:

      javax.swing.JCompoent.addNotify()
      javax.swing.JCompoent.removeNotify()

      should mention just as overriden methods of java.awt.Component that they should not be called directly by programs.

      As description for #6899149 states there might be hipothetical cases when unspecified aspect of behavior may lead to throwing exceptions.

            rupashka Pavel Porvatov (Inactive)
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: