And something else to your code: when i run it, I only get a result every second time I press the button. The other times I get this error: "unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@43618678)"
Any Idea why? Or do you know this behaviour?