Learn to Add in Java using NetBeans Java Knowledge Based Info. Netbeans Click on jButton and than enter the given code:double num1 = Double.parseDouble(jTextField1.getText()); double num2 = Double.parseDouble(jTextField2.getText()); double num3 = num1 + num2; jTextField3.setText(""+num3); Share this Share on FacebookTweet on TwitterPlus on Google+
EmoticonEmoticon