didn't get confused again.... if i put comma.. than.. it will read every line.. but we need when traynumber changed.. how many times.. so...
Type: Posts; User: jayraj
didn't get confused again.... if i put comma.. than.. it will read every line.. but we need when traynumber changed.. how many times.. so...
so where i need to add that code??
--- Update ---
I got confused in this part.. because its has comma in every fields.. so....
< import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import...
dude, I am not telling you to write code for me.. I just trying to tell you that.. which steps are good.. I mean which comes 1, 2, 3.. And you are right, I need to understand step first before write...
What do you mean?? i didn't understand you!! really sorry for.. its due tomorrow.. I need to finish that today.. its final project.. so please help me..
If you think that it will take several steps.. so what you want me to do.. do you have any idea.. how can i write code in simple steps..
please let me know.. really need help actually..
that's part i am trying to tell you..
1) choose text file.. done
2) look over that text file and traynumber field.. and how many times tray number changed.. suppose it like 3 times than
3) make...
Well
Step 2) read whole file but is not required.. I just write code for that.. to understand better..
soo
basically need to write code to
to look over traynumber field.. where tray number...
Step 1) choose text file from computer = Done
Step 2) read that text file = Done
Step 3) look to traynumber where tray number changed create new text files. 1 line is fields it should be same in...
create multiple text files and split text. like in 1 file tray number only 1 and other data and 2 file tray number 2 and other data..... I don't know code for that actually..
Hey, I write the code for first part its work good..
so its select only text file from computer and read that file.
But Confused second part what is code for that.. how is look like i don't...
Well, I know first part, To Choose text file from Computer and read that file.
Confused 2nd part to Create multiple text file samename traynumber1,2.....
Please help with second part if you can....
Trying to write Java code to choose text file from computer and split into multiple text file based on field information
Text file select:
"First Name","Last Name","Address Line 1","Address...