Java 1.5.0 - cursor screwed up in JDialog

From: Alex Molochnikov (NOBODY_at_NOSPAM.COM)
Date: 10/25/04


Date: Sun, 24 Oct 2004 22:17:19 GMT

This is a known bug (5079694) that causes JDialog to ignore setCursor() on
any component in its hierarchy, with the exception of cursors set on the
JDialog itself. What the bug report does not say is that this bug affects
also those components that set the cursor internally, by default - for
example, any JTextComponent that is supposed to show the text cursor
("I-beam") shows the default mouse pointer.

This bug was filed when Java 1.5.0 was in beta, but Sun chose to release the
FCS vesrion it without fixing the bug. One would think that something so
visible and reproducible like this bug should get more attention from them.

Does anyone have any idea when Sun is going to release the next maintenance
version, or when this bug is going to be fixed? Search on Google and on Sun
forums reveals nothing.

Alex Molochnikov
Gestalt Corporation



Relevant Pages

  • Re: wait cursor
    ... >> I'm trying to let my Windows Form application perform a lengthy ... > The Windows API requires that the cursor must be periodically ... So I guess it really was a bug. ...
    (microsoft.public.dotnet.languages.csharp)
  • bug at combo using *.qpr
    ... "A form can not contain more than 1 combo with same cursor". ... Create the tables and query just like before. ... Call it a bug if you will, ... >> Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [PROBLEM] Machine Freezes while Running Crossover Office
    ... > The mouse cursor does not move and the screen does not refresh. ... I'd be very surprised if this is not a codeweavers/wine bug. ... I don't understand how wine can block the X server from doing ... a bigger pipe buffer does is end up changing scheduling behaviour. ...
    (Linux-Kernel)
  • Re: Hourglass after application exit
    ... It's like a wait cursor not tied to anything and any other click will make ... remains running and must be killed with the Running Programs applet. ... Your issue does sound more like a bug in the CF ... VS2005, when exiting the app, it leaves a process or something running ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Trackpad bug, all recent year 2005 powerbooks (not iBooks)
    ... > volumes select screen, the bug becomes apparent. ... > "stroking" the trackpad at normal finger speed, the cursor refuses to ... > Bug only afflicts the trackpad, ... > involve a gigantic recall of many thousands of powerbooks. ...
    (comp.sys.mac.portables)