chosho.kyo@japan 1998-09-05
(1) Working environments
OS : Solaris2.5.1 Japanese version
Browser : Netscape Communicator4.04J
Java Plug-in : Java Plug-in 1.1.1 g
JRE : JRE1.1.6 within Plug-in
Window : CDE
Japanese Input : Atok7
(2) Phenomenon
I attach an applet source named Applet1.java and two HTML files
named 011.html and 2Frame.html below for reappearing the phenomenon.
Step1: Start NC with Java Plug-in.
Step2: Read 2Frame.html.
Step3: Two frames have their ATOK Japanese converter bar individually.
---------------<Applet1.java>----------------
import java.awt.*;
import java.applet.*;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(430,270);
choice1 = new java.awt.Choice();
choice1.addItem("List1");
choice1.addItem("List2");
choice1.addItem("List3");
try {
choice1.select(0);
}
catch (IllegalArgumentException e) { }
add(choice1);
choice1.setBounds(24,24,246,48);
textField1 = new java.awt.TextField();
textField1.setBounds(24,84,153,30);
add(textField1);
textField2 = new java.awt.TextField();
textField2.setBounds(24,120,153,30);
add(textField2);
label1 = new java.awt.Label("This label blinks per 1 minute.");
label1.setBounds(24,168,242,42);
add(label1);
new BlinkComp(label1);
}
java.awt.Choice choice1;
java.awt.TextField textField1;
java.awt.TextField textField2;
java.awt.Label label1;
}
class BlinkComp extends Thread{
Component comp;
public BlinkComp(Component c){
this.comp = c;
this.start();
}
public void run(){
for(int i=0;;i++){
try{
sleep(1000);
}
catch(Exception e){}
if(i % 2 == 0){
this.comp.setBackground(Color.red);
}
else{
this.comp.setBackground(Color.blue);
}
}
}
}
---------------<011.html>----------------
<HTML>
<HEAD>
<TITLE>011.html</TITLE>
</HEAD>
<BODY>
<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.0 -->
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 430 HEIGHT = 270
codebase="http://java.sun.com/products/plugin/1.1/jinstall-11-win32.cab#Ver
sion=1,1,0,0">
<PARAM NAME = CODE VALUE = "Applet1.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.1" java_CODE =
"Applet1.class" WIDTH = 430 HEIGHT = 270
pluginspage="http://java.sun.com/products/plugin/1.1/plugin-install.html">
<NOEMBED></COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!--
<APPLET CODE = "Applet1.class" WIDTH = 430 HEIGHT = 270 >
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
</BODY>
</HTML>
---------------<2Frame.html>----------------
<HTML>
<FRAMESET ROWS="50%,*">
<FRAME SRC="011.html">
<FRAME SRC="011.html">
</FRAMESET>
</HTML>