app means application. you can write a HTML file that you load in your web browser and then it will load up the game in in the browser and you can play it that way, no sure about it opening other files, was never taught that.
sorry i miss spoke there, an application is that black screen you are talking about a applet is what you want here is a small chunk of code that is pretty much the Hello world thing for applets
/* The HelloWorld class implements an applet that
displays "Hello World!" within an XHTML document. */
import java.awt.*; import java.applet.*;
public class HelloWorld extends Applet
public void init() // Initialize the canvas
Color lightgray=new Color(211,211,211); // customize
setBackground(lightgray); // make mellow background
public void paint(Graphics g) // Display Hello World!
this is a section of code you can use to load or play the applet in a web browser, save it as a HTML file in the same folder as your project or give the right directory to find it in.
<applet code="HelloWorld.class" codebase="javaProj/" height="70"
width="300" <param name="image" value="anintro.jpg"></param>
Your browser does not support Java!</applet>
but that looks different than how i used to type them.