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

class Box.Filler should implement Accessible interface

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      sparc
    • OS:
      solaris_2.5.1
    • Verification:
      Verified

      Description



      Name: aaC67449 Date: 08/03/98


      Box.Filler.getAccessibleContext() returns correct AccessibleBoxFiller object, but Filler
      does not implement Accessible interface. This causes malfunction of several methods
      (e.g. AccessibleBoxFiller.getIndexInParent() )

      See source(Box.java:262)"
          public static class Filler extends Component {

       ...
       
              /**
               * Gets the AccessibleContext associated with this Component.
               * Creates a new context if necessary.
               *
               * @return the AccessibleContext of this Component
               */
              public AccessibleContext getAccessibleContext() {
         
      "


      Should be:"
          public static class Filler extends Component implements Accessible {

      "
       
       Justification:
      Causes malfunction of several methods
      (e.g. AccessibleBoxFiller.getIndexInParent() )



      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              pkorn Peter Korn (Inactive)
              Reporter:
              aalievsunw Artem Aliev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: