Top Banner
TABLAS PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: 1. Seleccionar Java Application 2. Nombre proyecto: Botones, clase principal
7

Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

Feb 06, 2018

Download

Documents

doanhanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

TABLAS

PROGRAMACIÓN ORIENTADA A OBJETOS(P.O.O.)

Ejercicio:

1. Seleccionar Java Application

2. Nombre proyecto: Botones, clase principal

Page 2:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

3. Seleccionar jFrame

4. Nombre jFrame: Boton

Page 3:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

5. Inserción de controles: Swing Controls

6. Edición de texto de Label, Text Field, Button y Table

Page 4:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

7. Cambiar nombre de las variables:

Page 5:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

Text Field: txtcodigoButton: btnagregarCombo Box: sexoTable: tabladedatos

8. Creación del objeto DefaultTableModel, importación de la misma y creación de columnas de la tabla.

Page 6:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

Configuración de Botones

1. Código del botón arreglar, creamos un arreglo

2. Código del botón nuevo

3. Código del botón eliminar

4. Código del botón eliminar todo

Page 7:    Web viewTABLAS. PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: Seleccionar Java Application. Nombre proyecto: Botones, clase principal

5. Código del botón salir

6. Código clase principal: Botones.java