JDK-4030480 : Tiny: Selecting text in TextArea doesn't turn off selection in TextField & vice
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_2.5.1
  • CPU: other
  • Submitted: 1997-02-06
  • Updated: 1999-06-23
  • Resolved: 1999-06-23
Related Reports
Relates :  
Description
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.

Comments
PUBLIC COMMENTS Selecting text in TextArea doesn't turn off selection in TextField & vice versa
10-06-2004

EVALUATION I have reproduced the problem. It occurs in the selection handling of the Tiny toolkit. I committed to fix it and am willing to do so, but it would be better to make sure that the awt team is aware of it, so I have transferred the bug. richard.berlin@Eng 1997-03-12 [jeff 4/16/97] I'm now aware. (-: Rich, if you don't mind fixing the problem, please (oh PLEASE) feel free to fix the problem. eric.hawkes@eng 1998-02-23 See also 4091081? eric.hawkes@eng 1998-02-23 No, that should be 4098102
23-02-1998