fix editor swing