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

Accessible parent incorrect in SwingSet2 with Monkey

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.2
    • 1.4.0
    • client-libs
    • mantis
    • generic, x86
    • generic, windows_2000
    • Verified

      When SwingSet2 demo is launched on Win2000 with Monkey Accessibility tool, i get a wrong Accessible parent error message on the console.

      Steps to reproduce:

      1) Launch SwingSet2 demo with Monkey Accessibility tool.
      2) After SwingSet2 loads, do File->Refresh Trees in Monkey window.
         The following message comes on the console:


      OOPS. Accessible parent of javax.swing.text.html.AccessibleHTML$AccessibleHTMLText@3d93cd should be
       javax.swing.JEditorPane[,0,0,672x521,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignm
      entX=null,alignmentY=null,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@19fc25,flags=1184,
      maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],di
      sabledTextColor=javax.swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=false,margin=javax.swin
      g.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIRes
      ource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIResource[r=204,g=204,b=255],kit=javax.swin
      g.text.html.HTMLEditorKit@3299f6,typeHandlers={text/html=javax.swing.text.html.HTMLEditorKit@3299f6}
      ] but it is javax.swing.text.html.AccessibleHTML$AccessibleHTMLRootView@78f8c8


      This problem started in Merlinb48.

      Result of java -version:

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b51)
      java HotSpot(TM) Client VM (build B51, mixed mode)


      ruchika.mehdiratta@Eng 2001-02-13

      -------------------------------------------------------------------------------
      This error message comes on all the platforms.

      ruchika.mehdiratta@Eng 2001-03-07
      -------------------------------------------------------------------------------
      The same message appears on the terminal for Merlin B66. The following is the message I got:

      OOPS. Accessible parent of
      javax.swing.text.html.AccessibleHTML$AccessibleHTMLText@70c38c should be
      javax.swing.JEditorPane[,0,0,672x516,layout=javax.swing.plaf.basic.BasicTextUI$U
      pdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.basic.Basic
      Borders$MarginBorder@2d502d,flags=296,maximumSize=,minimumSize=,preferredSize=,c
      aretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.
      swing.plaf.ColorUIResource[r=153,g=153,b=153],editable=false,margin=javax.swing.
      plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swi
      ng.plaf.ColorUIResource[r=0,g=0,b=0],selectionColor=javax.swing.plaf.ColorUIReso
      urce[r=204,g=204,b=255],kit=javax.swing.text.html.HTMLEditorKit@364dcb,typeHandl
      ers={text/html=javax.swing.text.html.HTMLEditorKit@364dcb}] but it is
      javax.swing.text.html.AccessibleHTML$AccessibleHTMLRootView@6ac7c8

      heidi.chen@eng 2001-06-05
      -------------------------------------------------------------------------------

            lmonsantsunw Lynn Monsanto (Inactive)
            rmehdirasunw Ruchika Mehdiratta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: