Fixed java text not being focused