http://blog.csdn.net/JAVASUI/archive/2008/09/30/3002413.aspx The key is: setContentAreaFilled(false); or setOpaque(false); setColor(**); // must