JDK-4812978 : MantisB14:Stylepad Demo: Caret disappears after drag and drop of text
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-02-05
  • Updated: 2003-05-30
  • Resolved: 2003-02-05
Related Reports
Duplicate :  
Description
Build: Mantis B14
OS Tested: Solaris IA 9, Solaris Sparc 7, Win XP Home, Win2k Prof.

Steps to Reproduce:
==================
1) cd to j2sdk1.4.2/demo/jfc/Stylepad and launch the Stylepad demo
 %java -jar Stylepar.jar
2) File -> New
3) Enter some text and hit enter.
4) Select a part of the text you entered and try to drag it to the next line.
On doing so, the selected text is copied to the next line, but the caret disappears.

Switch focus to some other window and then back to Stylepad window. Notice that the Caret is visible now.

This problem started in Mantis B06.

###@###.### 2003-02-04

Comments
EVALUATION This problem has actually been around since merlin. It's just that there is a 50% chance of reproducing it unless you know the source of the problem. To reproduce it every time, start the drag when the caret is mid-blink (when it goes invisible for a second). If the caret is blinked off at the start of the drag, it will become so permanently after the drop. This has previously been filed as 4513720. Closing as a duplicate. ###@###.### 2003-02-05
05-02-2003