So, the teacher wants me to click on the button 'Click For Movies'. Once clicked on, it will then display the movie data in their respective JList boxes (the data should be in a class named MovieInfo.JAVA. By the way, the data for the JList boxes should be blank at first. I have created it, but I have no clue what to do now.
Here is my class for MOVIEINFO.JAVA that I have created.
Am I supposed to call this by using:
MovieInfo minfo = new MovieInfo() ?
My main class is this:
The fact is that I do not want to call the JList box arrays from the String arrays I have used in the main class, the MOVIEBUY.JAVA class. I want to comment them out and add my real arrays from here:
Can someone explain to me how this can be carried out?