Let's discuss JDK-8338952

PavelTurk pavelturk2000 at gmail.com
Mon May 19 07:58:46 UTC 2025


About six months ago, I opened JDK-8338952 with a proposal to add an item comparator to (Tree)TableView.

The reason for this issue is that when using non-standard sorting — for example, when there is a "Total"
row in the table — the standard API becomes insufficient. One has to reinvent the wheel, and the code
quickly becomes extremely messy. Given that tables are one of the core UI components, this becomes
a serious problem.

To address this, I proposed adding an item comparator, which I believe would be very simple to implement.
I suggest we at least discuss this issue so we can start moving toward a solution.

Best regards, Pavel


More information about the openjfx-dev mailing list