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

Need method to find closest containing toplevel

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: rpR10076 Date: 02/21/2002


      Only filing this as an idea.
      In many places, it is needed to determine the closest containing
      toplevel for a given component. There are many places in AWT code
      where such method is implemented for private use.
      What should this method look like exactly, and whether it should
      be synchronized or only be called from under tree lock, is to be
      discussed. However, such method would allow to avoid unnecessary
      code duplication.
      Also, the method which for given container and component will say
      whether the component lies within container's hierarchy would be
      useful, too.
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            prssunw Prs Prs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Imported:
              Indexed: