I've found a sample for a sorted JList, but my application is powered by an embedded H2 database so I'm wondering if there isn't a better way to implement this with that in mind. Especially considering the table in question could become enormously large, and duplicating all that data in a JList's list model seems to kinda defeat the point of having a database to manage it.
Is there a good way to do this? Or am I forced to cobble together some clumsy hack to allow the JList to "scroll" through dynamically queried chunks of data or something?