JButton变颜色求助
if(floor==lift[i].LiftPlace)
{
	upButton[floor].setBackground(Color.GREEN);
	try
        {
	        lift[i].floorButton[floor][1].setBackground(Color.WHITE);
		Thread.sleep(1000);
	}catch(InterruptedException e)
		{
			e.getSuppressed();
		}	
		lift[i].floorButton[floor][1].setBackground(Color.BLACK);
		return;
}
为什么button的颜色直接变黑了
------解决方案--------------------该回复于2012-11-23 08:40:29被管理员删除