JDK-4223642 : JTable: Large #columns == SLOW
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.1
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1999-03-24
  • Updated: 2013-11-01
  • Resolved: 1999-06-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
1.3.0 betaFixed
JTable suffers from severe performance problems when the number of columns becomes large.  It appears that the amount of time required for adding columns ncreases exponentially depending on the number of columns in the table (visible or not).

In addition, the performance of column resizing is terrible.  Although the behavior is 0(n), the linear cost of very high.  Putting in some optimizations  for how column widths are calcuated could greatly improve usability.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: kestrel-beta INTEGRATED IN: kestrel-beta