Article View: borland.public.jbuilder.java.swing
Article #1158Re: Can I make an invisible control?
From: Gillmer J. Derge (TeamB)
Date: Fri, 19 Mar 2004 16:27
Date: Fri, 19 Mar 2004 16:27
14 lines
1603 bytes
1603 bytes
Ted Byers wrote: > No. The change in the cursor is just to let the user know that there is > something under the cursor (or perhaps I should have said mouse pointer) > which can respond to a mouse event. I get it now. You could also do that with a JLabel. label.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); One limitation is that the area obviously needs to be rectangular if it's a JLabel, and I haven't seen many rectangular cats. :-) -- Gillmer J. Derge (TeamB)
Technical Details
Message-ID:
<405b1f78$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<405b119a$1@newsgroups.borland.com> <405b1413$1@newsgroups.borland.com> <405b1da8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,713e84ee88d10114 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-03-19 08:34:03 PST Date: Fri, 19 Mar 2004 11:27:38 -0500 From: "Gillmer J. Derge (TeamB)" <spam@gillmerderge.com> User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Can I make an invisible control? References: <405b119a$1@newsgroups.borland.com> <405b1413$1@newsgroups.borland.com> <405b1da8$1@newsgroups.borland.com> In-Reply-To: <405b1da8$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.185.133.13 Message-ID: <405b1f78$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079713656 64.185.133.13 (19 Mar 2004 08:27:36 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail