im trying to find out how to pass
after button is pressed that the code for it is
ScoreQuiz++; ((CardLayout)(mainPanel.getLayout())).show(mainPanel, "card7");
and have it display the added value in a text file that has the value set in it like this
and display it in the next jPanel.