static final void method610() {
        Object obj;
        if (Class123.aFrame1950 == null) {
            if (Class142_Sub8_Sub3.clientFrame != null) {
                obj = Class142_Sub8_Sub3.clientFrame;
            } else {
                obj = Class112.signlink.applet;
            }
        } else {
            obj = Class123.aFrame1950;
        }
        Class142_Sub27_Sub11.gameWidth = ((Component) (obj)).getSize().width;
        Class142_Sub8_Sub29.gameHeight = ((Component) (obj)).getSize().height;
        if (Class142_Sub8_Sub3.clientFrame == obj) {
            Insets insets = Class142_Sub8_Sub3.clientFrame.getInsets();
            Class142_Sub8_Sub29.gameHeight -= insets.top + insets.bottom;
            Class142_Sub27_Sub11.gameWidth -= insets.left + insets.right;
        }
        if (Class92.method919() >= 2) {
            ReferenceFactory.canvasLocY = 0;
            Class142_Sub27_Sub14.screenHeight = Class142_Sub8_Sub29.gameHeight;
            Class39_Sub7.screenWidth = Class142_Sub27_Sub11.gameWidth;
            Class142_Sub8_Sub17.canvasLocX = 0;
        } else {
            Class39_Sub7.screenWidth = 765;
            Class142_Sub27_Sub14.screenHeight = 503;
            ReferenceFactory.canvasLocY = 0;
            Class142_Sub8_Sub17.canvasLocX = (765 - Class142_Sub27_Sub11.gameWidth) / 2;
        }
        NPC.gameCanvas.setSize(Class39_Sub7.screenWidth, Class142_Sub27_Sub14.screenHeight);
        if (obj != Class142_Sub8_Sub3.clientFrame) {
            NPC.gameCanvas.setLocation(Class142_Sub8_Sub17.canvasLocX, ReferenceFactory.canvasLocY);
        } else {
            Insets insets1 = Class142_Sub8_Sub3.clientFrame.getInsets();
            NPC.gameCanvas.setLocation(insets1.left + Class142_Sub8_Sub17.canvasLocX, ReferenceFactory.canvasLocY + insets1.top);
        }
        if (Class142_Sub6.anInt3263 != -1) {
            Class142_Sub8_Sub15.method1369(0, true);
        }
        Class142_Sub8_Sub2.method1289(-1);
    }