summaryrefslogtreecommitdiff
path: root/cad/src/experimental/CoNTub/P4.java
blob: 3d47e36b731cbb1720d7caa4f1819cde78ae2161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//package nt;

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;

public class P4 extends JPanel
{
	private JButton B1;
	private JLabel etiq;
	private JTextArea texto;
	public P4 ()
	{
		setLayout (new BorderLayout ());
		texto = new JTextArea ("Texto de ayuda breve y about");
		etiq = new JLabel ("Una simple etiqueta");
		B1 = new JButton ("boton1");
		add (texto, BorderLayout.CENTER);
		add (B1, BorderLayout.NORTH);
	}


}