Java_GUI_code_updated