• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Look for idea.

 
Hui Zhao
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am going to read a data file to plot a graph.I follow the steps as:
1) choose file, then return file name.

2)to process data by calling the file created in step 1 in another class

3)drawing in an applet.

My question is after I select the file, click ok.Then machine dies and the file chooser dialog is still there. What is wrong with my logic?
Thanks
 
Hui Zhao
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please delete the duplicated post, sorry for the pressing Enter mistakenly.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hui,

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
 
Hui Zhao
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic