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

VISTA: Cursor is not blinking in AWT TextArea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 6u2
    • client-libs
    • x86, sparc
    • solaris_2.5.1, windows_vista

      OPERATING SYSTEM(S):
      --------------------
      Windows Vista Enterprise

      FULL JDK VERSION(S):
      -------------------
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b04)
      Java HotSpot(TM) Client VM (build 1.6.0_02-b04, mixed mode)

      DESCRIPTION:
      ------------

      PROBLEM DESCRIPTION

      Cursor is not blinking in AWT Text area.
      This problem is specific to Windows Vista.
      Problem is not seen on Windows XP SP2/Windows 2003

      TESTCASE DESCRIPTION

      This test case is to check mnemonics key usage i.e., using keyboard shortcut keys for traversing through the components.

      Use the following class in order to test this functionality.
      **************************************************************************
      import java.awt.*;

      class text extends Frame {
      public static void main(String args[]){
      Frame f = new Frame("AWT Component....");
      TextArea ta = new TextArea("I am Basha, from Bangalore");
      f.add(new Panel().add(ta));
      f.pack();
      f.setVisible(true);
      }
      }
      *************************************************************************


      STEPS TO REPRODUCE

      1.Install the above mentioned failing IBM SDK6 build. Set PATH to java.
      2.Compile the above code and execute as follows.
      >>javac text.java
      >>java text
      3.Now, you will see AWT Component windows....with "I am Basha, from Bangalore" in AWT TextArea.

      Observed result:
      Cursor will be pointing to first character "I",but it won't be blinking.

      Expected result:
      Cursor should be blinking.
      <Check on windows XP SP2/Linux, it would be blinking.>

            dcherepanov Dmitry Cherepanov
            elarsen Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: