made it work with latest swingx library