Article View: borland.public.jbuilder.java.swing
Article #9662Re: Move JScrollPane slider programmatically?
From: Ernesto Bascon Pantoja
Date: Fri, 11 Feb 2000 00:00
Date: Fri, 11 Feb 2000 00:00
29 lines
1167 bytes
1167 bytes
Hi: Try: scrollPane.getViewport().setViewPosition(new Point(x, y)); x and y are the coordinates of your document. This point will be showed at the top and left scrollpane position. Saludos Ernesto "Fred H. Porter PE" wrote: > > How can I move the slider (thumb) in a JScrollPane > programmatically rather than manually with the End Key? > Thanks, > Fred -- -------------------------------------------------------- Hand fits giving, so do it Polimorf's Page: http://166.114.106.63 --------------------------------------------------------
Technical Details
Message-ID:
<38A4981A.D2214EF0@ucbcba.edu.bo>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38A474E7.8D7D0B77@pdspp.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6a578145d8b83ce6 X-Google-Attributes: gid111d45,public From: Ernesto Bascon Pantoja <bascone@ucbcba.edu.bo> Subject: Re: Move JScrollPane slider programmatically? Date: 2000/02/11 Message-ID: <38A4981A.D2214EF0@ucbcba.edu.bo> X-Deja-AN: 584751558 Content-Transfer-Encoding: 7bit References: <38A474E7.8D7D0B77@pdspp.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UCB Mime-Version: 1.0 Reply-To: bascone@ucbcba.edu.bo Newsgroups: borland.public.jbuilder.java.swing