Do you know of a sophisticated spread sheet like component for Swing

前端 未结 1 854
旧时难觅i
旧时难觅i 2020-12-21 20:21

I need to write a data exploration tool that displays large amounts of data in a spreadsheet format.

Salient problem features:

  1. Large number of rows --
相关标签:
1条回答
  • 2020-12-21 21:02

    The real problem is elucidating the poorly defined row count requirement: typically 0.5 to 1 million. Human beings cannot meaningfully browse hundreds of thousand of rows. Instead, consider some domain-compatible way to select a subset suitable for manipulation according to the other requirements 2-5.

    Because its renderers implement the flyweight pattern, JTable is already quite efficient, although optimizations are possible. If the data is hierarchical in nature, org.netbeans.swing.outline.Outline, a JTable subclass examined here, is an appealing alternative.

    0 讨论(0)
提交回复
热议问题