![Page 1: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/1.jpg)
VISUAL
![Page 2: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/2.jpg)
1. Hacer nuevo proyecto2. Crear un nuevo paquete3. Hacer una clase visual
1. Dar el nombre2. Seleccionar el estilo AWT3. Seleccionar Frame
![Page 3: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/3.jpg)
![Page 4: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/4.jpg)
![Page 5: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/5.jpg)
4. Seleccionar el FRAME con boton derecho SET LAYOUT y hacerlo null
![Page 6: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/6.jpg)
![Page 7: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/7.jpg)
5. De la paleta seleccionar dos etiqutas ( una para pedir informacion y otra para mostrar), un boton y un TextField (para capturar informacion).
![Page 8: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/8.jpg)
![Page 9: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/9.jpg)
6. En el boton con boton derecho seleccionar Event y despues actionPerformed
![Page 10: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/10.jpg)
![Page 11: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/11.jpg)
Se agrega este codigo
ok.setText("ok");ok.addActionListener(new
java.awt.event.ActionListener() {public void
actionPerformed(java.awt.event.ActionEvent e) {System.out.println("actionPerformed()"); // TODO
Auto-generated Event stub actionPerformed()}});}return ok;
![Page 12: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/12.jpg)
•Borrar lo que esta en rojo y agregar:
jLabel.setText("hola " + muestra.getText());//muestra es el nombre del JtextField
donde se caputura//jLable es el nombre de la etiqueta donde
se va a mostrarjLabel.setVisible(true);
![Page 13: VISUAL. 1.Hacer nuevo proyecto 2.Crear un nuevo paquete 3.Hacer una clase visual 1.Dar el nombre 2.Seleccionar el estilo AWT 3.Seleccionar Frame](https://reader034.vdocuments.co/reader034/viewer/2022051413/552e72105503463d038b4900/html5/thumbnails/13.jpg)
•En el metodo de inicializar poner :
jLabel.setVisible(false);
Jlabel es la etiqueta donde se va a mostrar informacion.