Given a JTable which presents 30-50k rows, its responsiveness becomes very slow. Is there anything I can do to improve its speed? I don't see why the number of rows would affect it so much. Wouldn't it stop rendering rows once it passes the a point beyond the size of the viewport?
Phaelax
52
Practically a Posting Shark
Recommended Answers
Jump to PostDo you have Scrolling option in your JTable ...?
Jump to PostAnd what implementation are you using for your datamodel?
The problem is almost certainly in that.And no, it will not necessarilly only consider the few items that fit inside the viewport.
For one it'll need to decide WHAT to show inside the viewport, which may well depend on …
All 7 Replies
lucky1981_iway
0
Light Poster
jwenting
1,889
duckman
Team Colleague
Phaelax
52
Practically a Posting Shark
jwenting
1,889
duckman
Team Colleague
Phaelax
52
Practically a Posting Shark
jwenting
1,889
duckman
Team Colleague
Phaelax
52
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.