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

Diff. behavior of Japplets in framed html between 1.3.1_08 and 1.4.2rc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      The attached test program is to show a window devided into two frames.
      Also, when we click the right frame, it tries to show the applet in left frame
      to the ritht frame.

      In 1.3.1_08, after we click the right frame and the applet appear in the left,
      repaint works both for frames.
      However, in 1.4.2-b28, repaint seems to work for the left frame and the
      applet in the right frame disappears.


      CONFIGRATION:
       JRE: 1.4.2-rc-b28
       OS : Windows XP (SP1, Japanese edition)
       Browser : Internet Exporer 6.0(SP1)

      REPRODUCE:
       1) download the attached files to a directory.
       2) Change the line# 140 in MyApplet2.java

      ...
          applet.getAppletContext().showDocument(new URL("file:///K:/shares/redraw-background/with-frame2/MyApplet2.html"),"frame1");

      to specify the directory(or URL) where you download the files in step 1)


       3) Compile the attached test programs and specify the "SampleFrame.html"
          (attached to this bugfile) in URL field in Browser.

        --> You can see a window which is devided into two frames.

       4) Click somwhere in the yellow field of right frame.
       
        --> the applet in the right shows up in the left also.

        Here,

        EXPECTED BEHAVIOR:
         yellow applet shows up in both frames.
         (please see the attached "expected-behavior.jpg")
         
        ACTUAL BEHAVIOR :
         yellow applet shows up only in the left frame.
         (please see the attached "actual-behavior-142.jpg")


      NOTE:
        When I move the splitter, yellow applet appears both in frame.

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zgu Zhengyu Gu
              Reporter:
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: