Hello Java Forum,
I am trying to build simple calculator, and I need to make my inputs checked as soon as they are typed in TextField.
What command should I use in order to get the TextField to check if typed character is number or letter. I need just numbers, and only positive. (double n > 0)
Is there other command for clearing the TextField than this: NameTextField.setText(""); ?
How to clear TextArea?
How to add next line into TextArea? I only get one, at the top. How do I change font colour?
I also have problem with decimal separator. How do I 'translate' string to double?
Thanks for now!
Kind regards Grom