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.
=============================================================================
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.
=============================================================================
- duplicates
-
JDK-4684153 LiveConnect method eval() runs in incorrect context when using frames (IE only)
- Resolved