🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Custom cursor gets changed back or wrong cursor gets used

#610
From: Lori M Olson [TeamB]
Date: Fri, 18 Mar 2005 17:21
47 lines
2675 bytes
Michael D. Spence wrote:

> 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. 
> 
> 

Perhaps if you posted some of the mouse cursor setting code...

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
     http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID: <423b0e14$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <423af16e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,f15ed9bbb83edfc5
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 18 Mar 2005 10:21:22 -0700
From: "Lori M Olson [TeamB]" <javadragon@techie.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Custom cursor gets changed back or wrong cursor gets used
References: <423af16e$1@newsgroups.borland.com>
In-Reply-To: <423af16e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 142.179.181.200
Message-ID: <423b0e14$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1111166484 142.179.181.200 (18 Mar 2005 09:21:24 -0800)
Lines: 47
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail