Fixed minor swing/substance java 7 issue.