KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gui > data > Main


1 /*
2  *
3  * Sun Public License Notice
4  *
5  * The contents of this file are subject to the Sun Public License
6  * Version 1.0 (the "License"). You may not use this file except in
7  * compliance with the License. A copy of the License is available at
8  * http://www.sun.com/
9  *
10  * The Original Code is NetBeans. The Initial Developer of the Original
11  * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun
12  * Microsystems, Inc. All Rights Reserved.
13  */

14
15 package gui.data;
16
17 public class Main {
18     
19     /** Creates a new instance of Main */
20     public Main() {
21         System.out.println("Hello World");
22     }
23     
24     private void foo() {
25         javax.swing.JPanel JavaDoc p = new javax.swing.JPanel JavaDoc();
26     }
27     
28     /**
29      * @param args the command line arguments
30      */

31     public static void main(String JavaDoc[] args) {
32         new Main();
33     }
34     
35 }
36
Popular Tags