We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8b57c commit 213cfe1Copy full SHA for 213cfe1
megamek/src/megamek/client/ui/swing/util/UIUtil.java
@@ -601,6 +601,7 @@ public static Dimension getScaledScreenSize(Component component) {
601
.getDefaultScreenDevice()
602
.getDefaultConfiguration();
603
} catch (HeadlessException e) {
604
+ logger.warn("No GraphicsConfiguration found, using default size");
605
return new Dimension(800, 600);
606
}
607
0 commit comments