Help making calculator with TextArea
Hi,
I'm trying to make a calculator with TextArea ,, it should look like this:
http://img600.imageshack.us/img600/7...01214at413.png
and with this specifications:
1-Every different operation should be in a different line of the text area as shown in the snapshot.
2- If the input is of invalid type, for instance, letters or special characters, the appropriate exception should be thrown.
3- You should implement an exception class DivisionByZeroException and you throw it and catch when required.
4- At any exception thrown, an alert window should appear and details the error.
Note that:
• The button C clears the last digit or symbol entered.
• The button CE clears the last line.
• the button Clear clears all the TextArea.
I made the design but the buttons are very big !! and the text area is very small !!
could anyone help me with the whole coding and I'd be very thankful ??