Guys I need some help in my activity, I'm making a calculator using NetBeans but I dont know what codes to use be in 0,1,2,3,4,5,6,7,8,9,+,-,*,/,=,(. decimal) all i know is the clear button code

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt){
    jTextField1.setText("");
                }

My calculator lack of functionality...:(

Recommended Answers

what code do you have so far?
the IDE you are using has no impact on the code you should have, or the logic you should use

Jump to Post

All 2 Replies

what code do you have so far?
the IDE you are using has no impact on the code you should have, or the logic you should use

ill post the code here by monday thanks for the reply

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.