Hi guys,
Please,
I have a simple display method in a java project as given below:
public void displayInfo() {
for(Student student : studentdB){
System.out.println(student.toString() + "\n");
}
I would want to use one of Swing components to display the students instead of displaying them on the stdout. Anyone knows how I could go about calling this method in some Swing components that can display all the students in the studentdb?
Thanks