I am writing a pretest that is 2 pages. afterthe first page the user picks his answers and hits the "save" button and then the 2nd page comes up, he picks his answers, and then he hits "submit" to finish.
how do i save the answers from class of the first page and get them to the class on the second page so I can check them when submit is pressed?
public class page1 extends javax.swing.JFrame
answer = 1;
answer = 3
public class page2 extends javax.swing.JFrame
answer = 4
answer = 1
answer and answer need to be passed to class page2 somehow so i can check the answers