Forums Register Login

AWT calculator

+Pie Number of slices to send: Send
Hello, I'm beginner for JAVA and working on this program for my project.. I need your help that I have problem with COS, SIN, SQT, and dot (".") for calculator with using AWT. I believed that these problems because of conflict int and double.. Maybe other more errors. I hope you can tell me how to solve these problems. Thank you so much!

+Pie Number of slices to send: Send
hi David,

first of all: don't use the old AWT, use Swing.

Just had a glance at your code, can't comment on the contents yet, but I tried

and got an error here.
Have you compiled the program? What are the errors that you get reported?

Greetz,
Piet
And inside of my fortune cookie was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 805 times.
Similar Threads
Calculator clear button not working...
Calculator Memory buttons not working?
pls help adding menu bar to prgram
NullPointerException - Using JTextField to Add Numbers
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 01:15:35.