Show HN: Dimension-TT – A typesafe wrapper for Java Swing Tables using Java 24
1 points
11 hours ago
| 0 comments
| github.com
| HN
Hi HN,

I built Dimension-TT because working with standard Swing JTable (and JXTable) usually involves a lot of casting, untyped Object[] arrays, and manual column index management.

This library creates a typed layer over the standard components. instead of addRow(new Object[]{...}), you work with setItems(List<T>).

Key features:

- Typed Rows: Map POJOs directly to table rows. - Annotation Schema: Define column order, visibility, and names using @TTColumn on your model class. - Modern Tech Stack: It requires Java 24+. It uses the JDK Class-File API for build-time scanning (indexing schemas without loading classes) and MethodHandles for high-performance runtime binding. - SwingX Support: seamless integration with JXTable.

I know Swing is "legacy" technology to many, but it is still widely used in enterprise desktop apps and IDE plugins. I wanted to bring modern Java ergonomics to that ecosystem.

Check it out if you are still keeping the Swing torch burning!

No one has commented on this post.