Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8128996

[ListView] Perfomance issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • fx2.1
    • fx2.0.2
    • javafx
    • 2.0.2b04

      See attached application.

      Launch main.java
      you will see an application with ListView and TextArea (which plays a role of logger)

      In project you can find customly implemented multi selection model (it is very simple and buggy in many cases, but mostly working). It writes all log in TextArea, if you press button "flush logger".

      Don't do anything with list. Just press that button.

      You can see, that method isSelected(int i) was called 20 times there. Even if there is empty list of items in list. This make bad impact on performance.

            jgiles Jonathan Giles
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: