1. Home
  2. Computing & Technology
  3. Java

Create a Simple Window Using JFrame

By Paul Leahy, About.com

5 of 7

The Application Entry Point

All that's left to do is add the Java application entry point. It will call the createWindow() function as soon as the application is run. Type in this function below the final curly bracket of the createWindow() function:

public static void main(String[] args) {

createWindow();

}
Explore Java
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Tutorials
  5. The Application Entry Point

©2009 About.com, a part of The New York Times Company.

All rights reserved.