fix some swing inconsistency between mac os x and ubuntu
Authored by: zz8rice 2012-08-16
Parent: [r5672]
Child: [r5674]