[Solved] java – string return method is called before any value is assigned to string
It seems pretty logical to me: You have a first event handling method execution in the EDT which gets the firmware version and then gets the port reader. Getting the firmware version causes an event to be received, in a different thread (and thus in parallel to the execution of portsMethod() in the EDT). The … Read more