🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Scroll JScrollPane to begining.

#362
From: Tony
Date: Sat, 17 Sep 2005 06:25
15 lines
1249 bytes
jScrollPane.getViewport().setViewPosition(new Point(0,0))

Cheers.
Tony.

"Salvador Huertas" <none@none> wrote in message 
news:432a901c@newsgroups.borland.com...
> Hi, friends
> How can I scroll a jScrollPane to position=0 (vertical) programaticaly (by
> code). Inside de scroll pane there is a jTextArea component.
>
> Thanks in advance!!
> Salvador Huertas.
>
> 
Technical Details
Message-ID: <432bb68f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <432a901c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,fc1382b640972c72
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tony" <aoganesi_a^t_yahoo_._com>
Newsgroups: borland.public.jbuilder.java.swing
References: <432a901c@newsgroups.borland.com>
Subject: Re: Scroll JScrollPane to begining.
Date: Fri, 16 Sep 2005 23:25:45 -0700
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 71.138.75.54
Message-ID: <432bb68f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1126938255 71.138.75.54 (16 Sep 2005 23:24:15 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail