🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Change cursor on JButton in JDialog

#434
From: C�dric LAFFONT
Date: Fri, 13 May 2005 13:13
5 lines
1163 bytes
Hello,
I try to change the cursor on a JButton doing :
btn.setCursor(new Cursor(Cursor.HAND_CURSOR));
It works when the button is on a JFrame but not when it is on a JDialog.
Any help would be appreciated.
Technical Details
Message-ID: <4284ab05@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,559b0909965060f5,start
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "C�dric LAFFONT" <laffont@antibia.com>
From: "C�dric LAFFONT" <laffont@antibia.com>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Change cursor on JButton in JDialog
Date: Fri, 13 May 2005 15:13:11 +0200
Lines: 7
Organization: ANTIBIA
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 80.125.208.253
Message-ID: <4284ab05@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115990789 80.125.208.253 (13 May 2005 06:26:29 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed2.easynews.com!easynews.com!easynews!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail