You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.awt.HeadlessException
at java.desktop/sun.awt.HeadlessToolkit.getScreenSize(HeadlessToolkit.java:186)
at org.wallpaperwizardapp.wallpaperwizard.model.ImageResizer.screenSizeGetter(ImageResizer.java:88)
at org.wallpaperwizardapp.wallpaperwizard.model.ImageResizer.resizeImage(ImageResizer.java:23)
at org.wallpaperwizardapp.wallpaperwizard.Main.main(Main.java:42)
I have used this code for a multi-monitor configuration but the same exception comes back
java.awt.HeadlessException
at java.desktop/sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:58)
at org.wallpaperwizardapp.wallpaperwizard.model.ImageResizer.screenSizeGetter(ImageResizer.java:95)
at org.wallpaperwizardapp.wallpaperwizard.model.ImageResizer.resizeImage(ImageResizer.java:23)
at org.wallpaperwizardapp.wallpaperwizard.Main.main(Main.java:42)
I currently catch the exception and use the standard values of 1920 for the width and 1080 for the height
The text was updated successfully, but these errors were encountered:
Code 1:
Exception:
I have used this code for a multi-monitor configuration but the same exception comes back
Code 2:
Exception:
I currently catch the exception and use the standard values of 1920 for the width and 1080 for the height
The text was updated successfully, but these errors were encountered: