File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Look for idea. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Look for idea." Watch "Look for idea." New topic
Author

Look for idea.

Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
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

Joined: Jul 09, 2007
Posts: 116
please delete the duplicated post, sorry for the pressing Enter mistakenly.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8813
    
    5
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


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Hui Zhao
Ranch Hand

Joined: Jul 09, 2007
Posts: 116
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Look for idea.