ES SENCILLO SOLO DA DONLE CLICK A EL BOTON Y DENTRO COLOCA ESTRA INTRUCCION:
int eleccion2 = JOptionPane.showConfirmDialog(null, "Desea salir?"); if ( eleccion2 == 0) { System.exit(0);
QUE HACE ESTO?: CUANDO PULSAS CERRAR. O SALIR. LA FUNCION QUE COMO VES SE INICIA UNA VARIABLE DE TIPO INT. COMPRUEBA MEDIANTE UN JOptionPane.showConfirmDialog. SI eleccion2 == 0 ENTONCES ME HAGO UN SYSTEM.EXIT(0) CON PARAMETRO CERO SINO PUES NO LO EJECUTA Y SALES
Gracias Carnal eres grande se te agradece el aporte :D
VirusDeTuSociedad 2 months ago
Es el mejor video hasta ahorita que me a explicado bien, suerte MUCHAS GRACIAS!
cdvc35710 3 months ago
men no entiendo de donde salio el Jframe frame=new frm2 :S porfa explicameeeee
konzhiittoh 3 months ago
BOTON SALIR ES THIS.DISPONSE();
ubuntea 3 months ago
muy pero muy bien explicas mejor q el profe nomaaaa saca mas videos asi
adananalisisvectoria 4 months ago
Alguien sabe el codigo para programar el boton "Cancelar"
Es decir salida :$
hdluis10 4 months ago
@hdluis10 mira todos mis videos de programacion ... y encontraras cuando programo el botor de salida
XxzCheChezxX 4 months ago
@hdluis10
ES SENCILLO SOLO DA DONLE CLICK A EL BOTON Y DENTRO COLOCA ESTRA INTRUCCION:
int eleccion2 = JOptionPane.showConfirmDialog(null, "Desea salir?"); if ( eleccion2 == 0) { System.exit(0);
QUE HACE ESTO?: CUANDO PULSAS CERRAR. O SALIR. LA FUNCION QUE COMO VES SE INICIA UNA VARIABLE DE TIPO INT. COMPRUEBA MEDIANTE UN JOptionPane.showConfirmDialog. SI eleccion2 == 0 ENTONCES ME HAGO UN SYSTEM.EXIT(0) CON PARAMETRO CERO SINO PUES NO LO EJECUTA Y SALES
Rich20Hack 4 months ago
gracias... pero muestra el codigo entero para ver cosas que no salen...
me costo moverme de una ventana a otra
hurrican400 5 months ago
Buen tuto.
nadadeloque 8 months ago
hola, un favor me podrias decir cuales son los videos anteriores a este.
Muchisimas Gracias
nadadeloque 8 months ago
men no entiendo de donde salio en Jframe frame=new "TABLA A LLAMAR" ();
me lo podrias explicar mejor.
gracias puen tuto
IRONBOTS 10 months ago
men me salvaste que buen tutorial eso es lo q necesitaba sigue haciendo mas videos de verdad gracias Dios te bendiga!!!
mundochus 1 year ago
no esta nada mal, pero te falta poner mas enfasis en equaIIgnoreCase xD
desa3601 1 year ago
graxxxxxxxxxxxx
hermano de verdad
me ayudaste una enormidad
sigue haci
explicas mejor q mi maestra jajajajaja
eZeMeSt 1 year ago