Article View: borland.public.jbuilder.java.swing
Article #12157Repaint of JTable on JScrollPane
From: John McCormick
Date: Thu, 18 Feb 1999 00:00
Date: Thu, 18 Feb 1999 00:00
30 lines
1210 bytes
1210 bytes
HELP!!! I am using JDK 1.1.6 My JTable (placed within a JScrollPane) is not redrawing properly when scrolled. My table is attached to a datamodel, It appears that JScrollPane thinks it is bigger than it is: It used to work before! But when I resized the JScrollPane it stopped working. Here is the scenario: When using arrow keys, my highlighted row will dissapear below the bottom of the table. Then after several more keypresses the table will start to scroll. Then the bottom of the table does not draw at all, but there are still rows there, You know you have reached the bottom of the table when you are scrolling in the dark!!! Does anyone know what is going on, and how I can fix it???? Thanks, John McCormick
Technical Details
Message-ID:
<7ah85j$cq514@forums.borland.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,b03a66880df5bf8d,start X-Google-Attributes: gid111d45,public From: "John McCormick" <jmccormick@treb.com> Subject: Repaint of JTable on JScrollPane Date: 1999/02/18 Message-ID: <7ah85j$cq514@forums.borland.com> X-Deja-AN: 445704743 Organization: Network Communications, Inc. Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3