1. Home
  2. Computing & Technology
  3. Java

Create a Simple Window Using JFrame

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.