Generally it's best to continue with the same thread as opposed to starting a new one with the same question. For instance, in this case you could have simply edited your original post, or added a second post to clarify the question you had. That's for next time, everything is fine for now

let me reclarify my question to make it understandable. I am going to select a file by JFileChooser, then return file or file name. but no return at all unless I click the x icon on debug console . This is an executable code. Thanks