i just started to learn java, and i want to program a basic calculator applet but i dont know where to start. all i need are two buttons and three text areas. all this needs to do is add two integers together, and display the result in one of the text areas. please help. thanks!
well which part of it are you having trouble with? You'll need event handlers for the buttons, when the buttons are pressed get the numbers from the text fields and do whatever the button is for, then print out the result to the textarea.
to be honest, i dont know where to start. i know the basic, basic things i need. But i dont know how to put it all together. if anyone wants to help, my AIM is: detroitsux69
ok, well how much java do you know? Do you know how to use event handlers? Do you know how to make an applet as opposed to an application? Use a pen and paper to write down a model of whats going to be in the applet, and how it will all interact. Work out what the result of pressing the buttons should be, and think of ways to achieve that. The event handlers will listen for the buttons being pressed, and then run the code that makes that happen. The GUI should be relatively easy to design as long as you have an idea in your head of what you want it to look like.