I recently got a new job for which i need to learn asp.net, i have however barely any programming experience, therefore i was wondering if anyone knows any good learning sites, (i already...
What i want is to know which button is clicked so i can start the right piece of code, for instance, if the + button is clicked and 2 and 2 are filled in, i want it to turn out 4, if the - button is...
I'm making a calculator, and i've already gotten the calculating stuff, i only need to know how to see what the source of an event was, so which button was clicked.
I'm making a calculator, and i've already gotten the calculating stuff, i only need to know how to see what the source of an event was, so which button was clicked.
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at...
I'm writing an small program in Java to get to know the language, a calculator that only dus plus :P but i want to get it so that you can't type anything but numbers.