Article View: borland.public.jbuilder.java.language
Article #18691Re: tabpanel - no selected tab...
From: Oyvind L Johansen
Date: Tue, 19 May 1998 00:00
Date: Tue, 19 May 1998 00:00
10 lines
1145 bytes
1145 bytes
>I'm using the tabpanel bean. The problem is that when it opens none of the >tabs are selected even if one is selected in the inspector and shows up as >selected there. Anybody having any idea? I figured out this one. When I looked into the code JBuilder put the setSelectedIndex() method first in the jbInit() method, before any of the panels was added to the tabpanel. When I moved the setSelectedIndex() method to the end of the jbInit method everything worked. This seems like a bug to me. Maybe it's fixed in JBuilder2......
Technical Details
Message-ID:
<6jsdja$o4712@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6jcqjh$d1s11@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ffc681e0e0cfcf1d X-Google-Attributes: gidf74b3,public X-Google-Thread: fa3e3,e038e53be283ac2e,start X-Google-Attributes: gidfa3e3,public From: "Oyvind L Johansen" <johansen@tabermatics.com> Subject: Re: tabpanel - no selected tab... Date: 1998/05/19 Message-ID: <6jsdja$o4712@forums.borland.com> X-Deja-AN: 354672920 References: <6jcqjh$d1s11@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Tabermatics Inc Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.ide