Hi There , are you talking about uploading Files.
Then when using the JFileChooser to uploading the Files, at the time when using the Chooser just only take the absolute path, then at the time of loading read the file from the Path; read the file part by part or it can have Heap size Issue (for Large files)
Joined: Aug 11, 2009
yes, i am going to get the picture from the disk then load it in my variable/field in my program and use it.
i dont get this straight
"at the time when using the Chooser just only take the absolute path, then at the time of loading read the file from the Path"
because when i load the JFileChooser it direct the path to the "my documents"
Joined: Apr 24, 2010
When you are using the JFIleChooser to select the File Just take a File Reference(which you are doing) and take the Absolute Path.
Then say suppose you want to load it in any Database(say) at that time you can read the File Contents part by part.