JDK-4730343 : Should support invisible cursor mode
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2002-08-12
  • Updated: 2002-08-16
  • Resolved: 2002-08-16
Related Reports
Duplicate :  
Description
There are classes of applications where it would be handy to have the cursor 
be invisible for the entire application (e.g. games, and when the user wants 
to draw only an object being rendered as the cursor moves).  

One way to do this would be to define something like 
Toolkit.setCursorVisibility(boolean visible) 
boolean Toolkit.getCursorVisibility() 

Another piece of functionality might be to have invisible cursors on a 
per-component basis - somthing like Cursor.INVISIBLE_CURSOR.  

One developer has tried the obvious workaround: implementing 
Toolkit.createCustomCursor with a blank transparent image.  He reports 
that it performs badly in XOR mode because all the custom cursors flicker 
(appear and disappear) as the mouse moves (another undesirable feature).

Comments
EVALUATION ###@###.### comments that this is easy to implement on Windows at an application level using ::ShowCursor(bool); ###@###.### 2002-08-12 Sounds like 4526950. ###@###.### 2002-08-14 Marking as duplicate of 4526950 ###@###.### 2002-08-16
12-08-2002