Last active
July 31, 2017 12:10
-
-
Save Dwiga/8d9c06cf4a55fc696e621d6cf4278055 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void btnProcessMouseClicked(java.awt.event.MouseEvent evt) { | |
// TODO add your handling code here: | |
int strUsia = Integer.parseInt(txtUsia.getText()); | |
int thnLahir = 2017-strUsia; | |
String a = "Nama saya" + txtNama.getText()+ ", Saya biasa di panggil " + txtNickname.getText() + ", Alamat saya " + txtAlamat.getText() + ", nomor hp saya " + txtNohp.getText() + "" | |
+ " dan lahir pada tahun " + thnLahir; | |
plcTxt.setText(a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment