daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Run a non-applet .jar game on a browser
  2. public class WrapperApplet extends Applet {
  3.  
  4.     public void start() {
  5.        new Thread("application main Thread") {
  6.           public void run() { runApplication(); }
  7.        }.start();
  8.     }
  9.  
  10.     private void runApplication() {
  11.        my.Application.main(new String[0]);
  12.     }
  13.  
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top