How to Update a JLabel Displaying an Image in a While Loop?

So, I'm trying to create a very simple remote viewer, and right now that basically consists of a client that takes a screenshot, sends that to the server, the server turns that into an image and saves it as image.jpg, and then displays that, and then repeat every three seconds.

Everything works fine until we get to the displaying part. When I originally load the program, if I set the image box to show image.jpg, it works (so long as image.jpg already exists - aka the program has run more than...

Read More »

By: StackOverFlow - Wednesday, 7 November

Related Posts