Daily Archives: November 29, 2010

Java Swing Accordion Widget

Update !!! Please visit the latest update to this component : New Accordian Widget . It has been greatly improved. I thought I would share an expandable Swing Sidebar of mine (also known to some as ‘floor tabbed pane’ or … Continue reading


Posted in Swing, Swing Components | Tagged , , , , , , , | 2 Comments

Yoda conditions in Java .. a dangerous technique

A common practice I have seen is the placing a┬áconstant on the left hand side of an equality statement (usually called a Yoda Condition). Typically┬áthe constant is a string, and this constant is being compared to some other object, or … Continue reading


Posted in Uncategorized | Tagged , , , , , | 2 Comments