Article View: borland.public.jbuilder.java.swing
Article #11415Re: ScrollPane Scrolls By Itself
From: Luke Dickman
Date: Thu, 27 May 1999 00:00
Date: Thu, 27 May 1999 00:00
21 lines
1583 bytes
1583 bytes
I'm curious as to what JDK and version of SWING that you are using. For a possible "quick fix" you may want to try switching to JDK 1.2, and the version of SWING that comes with it. If you would like to do this however, you do need to have JBuilder 2.01. I hope that this helps... Luke wanghong@home.com wrote: > I'm developing a Java application with a GUI using JBuilder 2. In this > GUI, I had a scrollpane holding lots of small textfields for user input. > I tried to type into the lower part of the textfields, i.e. the ones > that the user need to scroll down to see. As soon as I typed one > letter, the scrollpane automatically scrolled up to the top. The focus > was still in the textfield that was being used, but I couldn't see it > unless I scroll down again. This happened right after each key stroke. > I checked the generated code, there was nothing coded for the keydown > event or anything similar. I wonder if this is a bug of JBuilder's, and > how can I get around with this?
Technical Details
Message-ID:
<374D80F0.DD425DF2@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<374CCB30.BDEE4A10@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e51b7e2072da16a5 X-Google-Attributes: gid111d45,public From: Luke Dickman <ldickman@borland.com> Subject: Re: ScrollPane Scrolls By Itself Date: 1999/05/27 Message-ID: <374D80F0.DD425DF2@borland.com> X-Deja-AN: 482784138 Content-Transfer-Encoding: 7bit References: <374CCB30.BDEE4A10@home.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing