· Web viewConfiguración de Botones Botón Sumar: Botón Restar:...
6
FORMAS Y BOTONES PROGRAMACIÓN ORIENTADA A OBJETOS (P.O.O.) Ejercicio: 1. Seleccionar Java Application
-
Upload
truongminh -
Category
Documents
-
view
217 -
download
1
Transcript of · Web viewConfiguración de Botones Botón Sumar: Botón Restar:...
FORMAS Y BOTONESPROGRAMACIÓN ORIENTADA A OBJETOS
(P.O.O.)
Ejercicio:
1. Seleccionar Java Application
2. Nombre proyecto: Operaciones, clase principal
3. Creación jFrame: OperacionesFrame
4. Inserción de controles: Swing Controls y edición de variablesText Field: txtnum1, txtnum2Text Field: txtresultadoButton: btnsumarButton: btnsumarent
Configuración de Botones
1. Botón Sumar:
2. Botón Restar:
3. Botón Multiplicar:
4. Botón Dividir:
5. Botón Sumarent:
6. Botón Restarent:
7. Botón Multiplicarent:
8. Botón Dividirent:
9. Inicializar OperacionesFrame