Nicol Green wrote:Thank you very much for quick responses!
It is somehow possible to do at that way, but it is not working like it should,
but still I am not sure is it good programming practice and encapsulation violation if I do that so to say two-way connection, like in previous post ?
Nicol Green wrote:
I wanted in doOperations(operatorEn)instead of result = firstNumber + secondNumber; to say
result = firstNumber + Double.valueOf(textField.getText());
In that case I shall close this thread.
David Newton wrote:I think you should continue this in your other thread rather than resurrecting this old one.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton