JTable row highlighting and Decorator design pattern
I’ve been looking a moment to find how add row highlighting on JTables. To modify the behaviour of the cell rendering, you’ll have to set a new CellRenderer to JTable for each data types you want to show in the table.
The way I use is to apply the Decorator pattern.
The reason is that we only [...]
Design Patterns Quick Reference (and others)
Ever wanted a poster of Design Patterns ? Here is one for free on Jason McDonald’s blog.
You can also find many useful poster or “Refcardz” on dzone.com. The Design Patterns one is also made by Jason. ou’ll find others on Java, Netbeans, eclipse or others.
Take onaother look at devirtuoso.com to find 9 more ones quick [...]