🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Simple focus questions (with source code) - frametabulacao.java (0/1)

#13090
From: Paul Furbacher
Date: Sat, 19 Sep 1998 00:00
26 lines
1461 bytes
Joao Mauricio wrote:
> 
> Hi all,
> 
>         I'm trying to change the tab order of my frame.
> [...]
>         I used the method setNextFocusableComponent(Component). When I hit the TAB
> key I receive the message:
> 
> Exception occurred during event dispatching:
> java.lang.ArrayIndexOutOfBoundsException: 6 > 5
> [...]

I think I read something about this last night to the
effect that "setNextFocusableComponent()" is broken
in the earlier versions of Swing (e.g., 1.0 and 1.0.1?).
The advice in Topley's book was to resort to using the
order of addition to control tab order until a later
version of Swing fixes this.  

You can try installing Swing 1.0.3 into JBuilder.  
Search the archive on the Inprise/JBuilder site
for messages related to doing this.


Paul Furbacher
Technical Details
Message-ID: <3603F227.88E50F61@bilbo.bio.purdue.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3602be51.8102444@forums.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8340ba73575c5173
X-Google-Attributes: gid111d45,public
From: Paul Furbacher <pf@bilbo.bio.purdue.edu>
Subject: Re: Simple focus questions (with source code) - frametabulacao.java (0/1)
Date: 1998/09/19
Message-ID: <3603F227.88E50F61@bilbo.bio.purdue.edu>
X-Deja-AN: 392783924
Content-Transfer-Encoding: 7bit
References: <3602be51.8102444@forums.inprise.com>
To: JMauricio@Pobox.com
Content-Type: text/plain; charset=us-ascii
Organization: Biological Sciences, Purdue Univ.
Mime-Version: 1.0
Reply-To: pf@bilbo.bio.purdue.edu
Newsgroups: borland.public.jbuilder.java.swing