if i have add a number and i print it in a new page(JFrame). now, i want to get back to
previous page to add another number.
how to write the code? because i want to keep thw new page open and back to previous page. the
new page is to display what the number that have been added by the user. totally no idea with
it.
i've try this
first frame called 'frame1'
second frame called 'frame2'
public static boolean isClicked = true;
if(btnOK.equals(isClicked))
{
frame2.setVisible(true);
frame1.setVisible(false);
}