/* * Filename: TestClass.java * * Author: Raf Van de Plas * * Contact: * Snail-mail: K.U.Leuven * ESAT-SCD * Kasteelpark Arenberg 10 * B-3001 Leuven-Heverlee * Belgium * Tel: +32 16 327927 * Fax: +32 16 321970 * Gsm: +32 474 243046 * E-mail: raf.vandeplas@esat.kuleuven.ac.be * WWW: http://www.esat.kuleuven.ac.be/~dna/BioI/ * * * Created on: Nov 14, 2003 * * Changed on: Nov 14, 2003 * * Version: 0.1 * * Description: * none * */ import javax.swing.*; /** * @author rvdplas * * To change the template for this generated type comment go to * Window - Preferences - Java - Code Generation - Code and Comments */ public class TestClass extends JFrame { public static void main(String[] args) { /* if(args != null && args[0].equals("")) { args[0] = new String("New"); System.out.print(args[0]); } else{ System.out.print(args[0]); } */ System.out.print("Hello World!"); TestClass myFrame = new TestClass(); myFrame.getContentPane().add(new JLabel(" Testje ")); } }