added code for refreshJlist and browse for image