🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JButton and Focus Question

#7660
From: Ernesto Bascon Pantoja
Date: Wed, 20 Dec 2000 19:52
15 lines
1339 bytes
Try override this method:

protected void processFocusEvent(FocusEvent e)
{
  if (e.getID() == FocusEvent.FOCUS_GAINED)
    transferFocus();

  super.processFocusEvent(e);
}

-- 
-------------------------------------------------
Polimorf's Page: http://members.xoom.com/Polimorf
-------------------------------------------------
Technical Details
Message-ID: <3A410E18.9081F82C@ucbcba.edu.bo>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!fu-berlin.de!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
References: <91qbm2$7ug5@bornews.inprise.com> <3a40b9a6_1@dnews> <91qlf0$7uj7@bornews.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,d51577e542f3b18b
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2000-12-20 11:45:19 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!fu-berlin.de!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
From: Ernesto Bascon Pantoja <bascone@ucbcba.edu.bo>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: JButton and Focus Question
Date: Wed, 20 Dec 2000 15:52:56 -0400
Organization: IIIA - pirAMide Project - UCB Cbba.
Lines: 15
Message-ID: <3A410E18.9081F82C@ucbcba.edu.bo>
References: <91qbm2$7ug5@bornews.inprise.com> <3a40b9a6_1@dnews> <91qlf0$7uj7@bornews.inprise.com>
Reply-To: bascone@ucbcba.edu.bo
NNTP-Posting-Host: firewall.ucbcba.edu.bo
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U)
X-Accept-Language: en