🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #609

Custom cursor gets changed back or wrong cursor gets used

#609
From: Michael D. Spence
Date: Fri, 18 Mar 2005 15:19
22 lines
1982 bytes
I have a JPanel that is contained in a JInternalFrame.  In response to a 
mouse click, the JPanel changes the cursor to a custom cursor while a 
database operation is going on, then changes it back to the previous cursor.

This works fine on my development system, but when the app. is distributed 
to the user and they click on the JPanel, the cursor change only shows as 
long as the user keeps the mouse button pressed.  As soon as they release 
the mouse, the cursor changes back.

Also on my development system (and as one would expect), the custom cursor 
is replaced by the system default when it's moved outside of the applicaton 
window.  But when the cursor is moved back onto my app window, it changes to 
a horizontal sizing cursor (double-ended arrow), which eventually changes 
back to the original default cursor on schedule, when the database operation 
completes.

I have no idea what could be going on here.  Help!


________________________
Michael D. Spence
Mockingbird Data Systems, Inc. 
Technical Details
Message-ID: <423af16e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,f15ed9bbb83edfc5,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Michael D. Spence" <spence@panix.com>
From: "Michael D. Spence" <spence@panix.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Custom cursor gets changed back or wrong cursor gets used
Date: Fri, 18 Mar 2005 10:19:39 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 24.46.54.16
Message-ID: <423af16e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111159150 24.46.54.16 (18 Mar 2005 07:19:10 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail