How to open Java applet in browser instead of new window on Macbook? Sometimes when I use Java things online, instead of the java running in the browser window, it opens a new window called 'Java Applet'. This has happened in both safari and google chrome. I was wondering how I could run it in the window. Java is enabled.