-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.0
-
None
-
other
-
solaris_2.5.1
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.
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.
- relates to
-
JDK-4117620 Multiple selections in TextFields and TextAreas on win32 api
-
- Closed
-