Skip to content

Instantly share code, notes, and snippets.

@jketcham
Created April 9, 2013 02:49
Show Gist options
  • Save jketcham/5342544 to your computer and use it in GitHub Desktop.
Save jketcham/5342544 to your computer and use it in GitHub Desktop.
Method that does the thing when the person completes the game
else if(operation == 2) {
InfoPackage pack = new InfoPackage();
String tTime = pack.getTime();
try {
getAppletContext().showDocument(new URL(getCodeBase()+"thanks.php?time=" + tTime ),"_top");
}
catch (MalformedURLException ex) {
System.out.println(ex.getMessage());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment