2011. május 3., kedd

Outlook style JTreeTable in Swing/Netbeans

The Tasks window of Netbeans provides a very nice, categorized view of tasks in the IDE.

The lines, marking the category headers, are greyed-out in order to provide a strong separation between the tasks of different categories.

The task list looks like the task list of Microsoft Outlook, which I think is one of the the best implementations of tree-style grids (categorized list with multiple columns).

For a long while, I believed that this view is based on JTreeTable and it will be very easy to create similar, nice looking categorized list in Swing/Netbeans.

Recently, I managed to take a look at the source-code and it very much seems that the Tasks view is built with a heavily customized JTable. It's a pity because this cries out loud for being implemented with JTreeTable.

I am wondering how easy it would be to implement a similarly good looking categorized list with Outline (the official Netbeans component for Tree Table style components).