Article View: borland.public.jbuilder.java.swing
Article #11529JTable centers itself under scrollpane
From: Enter your name here
Date: Tue, 18 May 1999 00:00
Date: Tue, 18 May 1999 00:00
14 lines
1223 bytes
1223 bytes
I have a table in a scrollpane in a tabbed pane, and whenever the scrollpane repaints (including painting for the first time) the table shows up centered under the scrollpane (rather than at the top left corner, as I believed it would). At first the (vertical) scrollbar shows that the table is viewing the center of the table. When I scroll with the scrollbar, the table and scrollbars react correctly. However, if I have scrolled away from the center and I move to a different tab then return, the table is re-centered, and scrollbars are where they were when I moved away -- that is, they are out of sync. If it press the thumb, the table jumps back to where it should have been. Any ideas? -- Ed Cardinal
Technical Details
Message-ID:
<7hs6ll$brs@dfw-ixnews8.ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,190a77c794168a17,start X-Google-Attributes: gid111d45,public From: "Enter your name here" <poignant@ix.netcom.com> Subject: JTable centers itself under scrollpane Date: 1999/05/18 Message-ID: <7hs6ll$brs@dfw-ixnews8.ix.netcom.com> X-Deja-AN: 479508160 Organization: Netcom X-NETCOM-Date: Tue May 18 12:05:57 PM CDT 1999 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.swing