Update SwingAdapter.java