Empezar a utilizar Swing en java
Empezaremos a explicar un vídeo de como empezar a realizar una interfaz gráfica con la utilización de la biblioteca Swing.
Espero y la disfruten, no olviden pasar por el canal de youtube y nuestro facebook donde encontraras los códigos y muchas cosas mas.
https://www.facebook.com/Java-Universidad-1074240326091464
https://www.youtube.com/channel/UCqv4B3AYw3HaTSoXsGRfU1w?view_as=subscriber
Primera opcion:
int resultado =Integer.parseInt(jTextField1.getText())+Integer.parseInt(jTextField2.getText());
jTextField3.setText(String.valueOf(resultado));
Segunda opcion: jTextField3.setText(String.valueOf(Integer.parseInt(jTextField1.getText())+Integer.parseInt(jTextField2.getText())));
Comentarios
Publicar un comentario