Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4030480

Tiny: Selecting text in TextArea doesn't turn off selection in TextField & vice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 1.0
    • client-libs
    • None
    • other
    • solaris_2.5.1

    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.

      Attachments

        Issue Links

          Activity

            People

              mbronsonsunw Mike Bronson (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: