Article View: borland.public.jbuilder.java.language
Article #15588Re: Setting focus in text field on tabbed panel-solution found
From: Robert E Bury
Date: Tue, 25 May 1999 00:00
Date: Tue, 25 May 1999 00:00
25 lines
1508 bytes
1508 bytes
Thanks to all who may have read... The solution: 1. Added initialize method with textField.requestFocus() to each visual bean. 2. Instantiated each visual bean in the applet and called the initialize method in jbInit(). Robert E Bury wrote in message <7ifd6i$sap$1@bgtnsc02.worldnet.att.net>... >Hi All, > >I have an applet with a tabbed panel where each tab of the panel is a visual >bean. When the alternate tab is selected, I need to set focus to a text >field on the visual bean. I've tried a couple of configurations, including >textField.requestFocus(), but am having no luck. I believe the problem >originates with requestFocus since the field must be visible for request >focus to work. Anyone faced this problem before? TIA > >Bob Bury >Glaxo Wellcome > >
Technical Details
Message-ID:
<7ifenv$60t$1@bgtnsc02.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ifd6i$sap$1@bgtnsc02.worldnet.att.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,3662b8002f1d7959 X-Google-Attributes: gidf74b3,public From: "Robert E Bury" <bury.r@worldnet.att.net> Subject: Re: Setting focus in text field on tabbed panel-solution found Date: 1999/05/25 Message-ID: <7ifenv$60t$1@bgtnsc02.worldnet.att.net> X-Deja-AN: 482108924 References: <7ifd6i$sap$1@bgtnsc02.worldnet.att.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc02.worldnet.att.net 927678015 6173 153.37.238.238 (26 May 1999 00:20:15 GMT) Organization: AT&T WorldNet Services NNTP-Posting-Date: 26 May 1999 00:20:15 GMT Newsgroups: borland.public.jbuilder.java.language