🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #967

repainting JTable

#967
From: Mark T
Date: Fri, 28 Jun 2002 01:32
13 lines
1547 bytes
I am testing a small app where a JTable initially displays an Object array
with two rows (x 4 columns) in a JScrollPanel.

When I change the data displayed to an array of about 40 rows, I have to
manually resize the window to get it to repaint and show the larger array. I
tried repainting the table, and repainting the whole JFrame - no dice.

Looking at the JavaDocs didn't give me an obvious way to refresh the screen
beyond the repaint() method. What am I missing?

Thanks,

Mark
Technical Details
Message-ID: <N0PS8.50627$Ok1.3949890@news2.west.cox.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!nntp-relay.ihug.net!ihug.co.nz!cox.net!p01!news2.west.cox.net.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,246bed45ab6e6c29,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-06-27 18:34:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!feed.textport.net!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!nntp-relay.ihug.net!ihug.co.nz!cox.net!p01!news2.west.cox.net.POSTED!53ab2750!not-for-mail
From: "Mark T" <mark.tannin.nospam@cox.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: repainting JTable
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <N0PS8.50627$Ok1.3949890@news2.west.cox.net>
Date: Fri, 28 Jun 2002 01:32:29 GMT
NNTP-Posting-Host: 68.4.20.132
X-Complaints-To: abuse@cox.net
X-Trace: news2.west.cox.net 1025227949 68.4.20.132 (Thu, 27 Jun 2002 21:32:29 EDT)
NNTP-Posting-Date: Thu, 27 Jun 2002 21:32:29 EDT
Organization: Cox Communications