Hi,
Could someone point out ways on how I could reload the frame?
so far, what I've done :
int more = JOptionPane.YES_OPTION;
more = JOptionPane.showConfirmDialog(null,
"BOOOoooM!!! Would you like to play again?", "", JOptionPane.YES_NO_OPTION);
if(more == JOptionPane.YES_OPTION){
myFrame.setVisible(true);
}
else{
myFrame.setVisible(false);
}
I'm not sure what I should do to reload "myFrame" again if the user click yes
Thanks