Guest User

Untitled

a guest
Aug 10th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment