no message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user