no message

This commit is contained in:
2024-10-11 00:00:30 +03:00
parent a11b7711f7
commit f317ab1aa1
341 changed files with 1866 additions and 1688 deletions

View File

@@ -1,5 +1,5 @@
package Visual_DVM_2021.Passes.All;
import Common.Utils.CommonUtils;
import Common.Utils.Utils_;
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 = CommonUtils.getDateName("screenshot") + ".png";
String res_name = Utils_.getDateName("screenshot") + ".png";
outputfile = Paths.get(target.getAttachmentsDirectory().getAbsolutePath(), res_name).toFile();
//-
ImageIO.write(bufferedImage, "png", outputfile);