no message

This commit is contained in:
2024-10-07 22:22:51 +03:00
parent 17c0bf7eb3
commit 3516b58127
34 changed files with 115 additions and 202 deletions

View File

@@ -1,5 +1,5 @@
package Visual_DVM_2021.Passes.All;
import Common_old.Utils.Utils;
import Common.Utils.CommonUtils;
import Visual_DVM_2021.Passes.CurrentProjectPass;
import javax.imageio.ImageIO;
@@ -21,7 +21,7 @@ public class MakeScreenShot extends CurrentProjectPass {
int y = display.getHeight();
BufferedImage bufferedImage = new Robot().createScreenCapture(new Rectangle(x, y));
//-
String res_name = Utils.getDateName("screenshot") + ".png";
String res_name = CommonUtils.getDateName("screenshot") + ".png";
outputfile = Paths.get(target.getAttachmentsDirectory().getAbsolutePath(), res_name).toFile();
//-
ImageIO.write(bufferedImage, "png", outputfile);