how to add two numbers using by clicking button ? -In Jframe | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

how to add two numbers using by clicking button ? -In Jframe

Need help... I was try to create a simple GUI application in Java and it's about simple calculator GUI application so.. I want that .. an user click on the button for calculation... without using keyboard

27th Feb 2019, 6:25 AM
Kuldeep Amarwani
Kuldeep Amarwani - avatar
2 Answers
+ 3
diego Code thanks
28th Feb 2019, 3:56 AM
Kuldeep Amarwani
Kuldeep Amarwani - avatar
+ 2
https://code.sololearn.com/c1F0Iyj7wY4Z/?ref=app Is a simple GUI made with intelliJ with three JTextFields + one JButton In button1.addActionListener you'll find four lines that show the product of two numbers.
28th Feb 2019, 2:19 AM
unChabon
unChabon - avatar