liboktiva-swing-iterator-java

Iterator-based Swing Components for Large data models
Download

liboktiva-swing-iterator-java Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Publisher Name:
  • ruoso
  • Operating Systems:
  • Windows All
  • File Size:
  • 51 KB

liboktiva-swing-iterator-java Tags


liboktiva-swing-iterator-java Description

JComboBox is a index-based component. This means that for every paint, it requests the model several getElementAt(x). When the model is small there is no problem, but when the model is bigger you start having a memory issue. The first remedy is to store your ComboBoxModel on disk, but then you start seeing it's difficult to have a index-based database which is fast enough to this type of access. On the other hand, Berkeley DB provides a really fast btree database, which solves the problem nicely. But, as a btree it looses a lot of performance to be able to do index-based lookups. This project provides two new components: JIteratorList and JIteratorComboBox, their model is Iterator-based instead of index-based, which makes it perfect to use with bdb. Give liboktiva-swing-iterator-java a try to see what it can do!


liboktiva-swing-iterator-java Related Software