write in .txt file: automatically create 100 blank records (fields: record id,name,age,etc) in a .txt file at the start of the program. record id wont be blank
edit: i will enter a record id (ranging from 1-100) to add or edit data to the blank record, record id cant be edited
display in joptionpane: i will enter a record id and all corresponding data will be displayed in JOptionpane (i know how to use joptionpane to display stuff, but i dont know how to display only the selected data from a .txt file)
can anyone please help to me how to do a program like this?