java - Calling SwingUtilities.invokeAndWait in a loop -
I am trying to save a .png image of a But now, I get a compilation error An internal range defined in a different method And a non-final variable can not be referenced However, I need my filename to be different, besides, to me again through my array of objects What can I do to stop this error? There is a way that any variable The final copy of it is necessary for example if the Another solution is to use class areas in the anonymous area. jframe In
JFrame , I have two Plot3DPanel objects, most likely due to the synchronization fault, the left-sized frame is invisible when saved. PNG
i problem is:
final int index = i; SwingUtilities.invokeAndWait (new Runnabal) (public run from zero) (new visualselliizer (P [index], Q [index], folder + "C" + index) .on ();}});
Comments
Post a Comment