It will automatically change if you set your applet to make this http call periodically and then do something with the result. The code I showed only retrieves the data from the server once, so you'll have to write the code to call it once every however often you want.