My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.lineadecodigo.java.swing;

/**
* @file HolaMundoSwing.java
* @version 1.0
* @author Linea de Codigo (http://lineadecodigo.com)
* @date 1-junio-2010
* @url http://lineadecodigo.com/java/hola-mundo-con-swing/
* @description Reemplazar contenido de un texto
*/

import javax.swing.*;

public class HolaMundoSwing extends JFrame {

private static final long serialVersionUID = 1L;

public HolaMundoSwing(){
super("Hola Mundo");

JLabel label = new JLabel("Hola Mundo");
getContentPane().add(label);

setSize(200,100);
setVisible(true);

}


public static void main(String[] args) {
new HolaMundoSwing();
}

}

Change log

r251 by vcuervo on May 31, 2010   Diff
Hola Mundo con Swing
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 691 bytes, 34 lines
Powered by Google Project Hosting