Article View: borland.public.jbuilder.java.swing
Article #8201Re: JScrollbar
From: sven goetgeluck
Date: Thu, 12 Oct 2000 00:00
Date: Thu, 12 Oct 2000 00:00
26 lines
1327 bytes
1327 bytes
Still keeps the same , Must be able to put the scollbar at his beginpoint Sven Johan Forsberg wrote: > "Sven Goetgeluck" <sven.goetgeluck@pandora.be> skrev i meddelandet > news:39d8e5fb_2@dnews... > > Hi , > > have a tree in a scrollbar > > now all the names of the treenodes are bigger than the window the tre is > in > > so the scroolbar is present (hor one) > > but i want the know to be at the left and not at the middle in the > scrollbar > > , how can i do this???? > > Your english is bit hard to parse ( :-) ), but I think you mean that you'd > like > to scroll the JScrollPane so that the leftmost part of the tree is visible? > > Try tree.scrollRectToVisible(new Rectangle(0, y, 1, 1)), where y is some > 'good' > value.
Technical Details
Message-ID:
<39E56C1A.1F643E3A@officeline.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39d8e5fb_2@dnews> <8rsmbn$78t16@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b22302ed8b0b1baa X-Google-Attributes: gid111d45,public From: sven goetgeluck <sven@officeline.be> Subject: Re: JScrollbar Date: 2000/10/12 Message-ID: <39E56C1A.1F643E3A@officeline.be> X-Deja-AN: 680904805 Content-Transfer-Encoding: 7bit References: <39d8e5fb_2@dnews> <8rsmbn$78t16@bornews.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 13 Oct 2000 00:33:12 -0800, 194.7.164.232 MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing