max.spivak@Eng 1997-02-05
Selecting text in TextArea doesn't turn off selection in TextField & vice versa. Here's a test case which works fine on Solaris but not on JavaOS:
import java.applet.*;
import java.awt.*;
public class KonaBug3 extends Applet {
TextField tf1;
TextArea ta;
public void init() {
setLayout(new BorderLayout());
tf1 = new TextField(20);
ta = new TextArea();
add("North", tf1);
add("Center", ta);
}
}
When text is entered into both the TextArea and TextField, it's possible to select text in both the TextArea *and* TextField. The correct behavior is to turn off selection in one when text is selected in the other.