I am writing a program that will stores information about students of two year groups. There are 10 pieces of information for each student and in total there is about 120 students. I have decided to have a separate .txt file for each student for the program to read and transfer each file information into array on start up.
However the problem I am facing is that there is a lot of different types of data manipulation: student profiles and JTable
for each grade. The student profile I think is very straight forward, but in the JTable
I will only need to access the first 2 and the last four pieces of information. I also need to have a JComboBox
that will have the name of each student and gets updated as well when new students are added.
My questions are as followed:
- Is it possible to read file names of .txt files and write them into binary tree?
- How do I change the text in
JLabel
in program run-time? (This information comes from the arrays of each student.) - Is there a simpler way to do this?
Oh and I am using NetBeans, if that makes any difference.
Needs urgent help. Thank you!