Home > Back-end >  Java image shown behind the problem: save the picture changed, but the window is always the first to
Java image shown behind the problem: save the picture changed, but the window is always the first to

Time:12-02


Realize functions: to save data generated Jfreechart scatterplot in local, because the time is changed, so set a button to monitor to monitor, will generate each time the image displayed in the window (cover the last picture with the next save files),
Problem: click on the button after, picture shows the success, but the change of time, click the button again, according to save the pictures is not the latest but image for the first time,

CodePudding user response:

Add a timestamp request pictures,
  • Related