final void method3677(Canvas canvas) {
	try {
	    anObject8020 = null;
	    anInt7936++;
	    aCanvas7910 = null;
	    if (canvas != null && canvas != ((NativeToolkit) this).aCanvas7925) {
		if (aHashtable8014.containsKey(canvas)) {
		    anObject8020 = aHashtable8014.get(canvas);
		    aCanvas7910 = canvas;
		}
	    } else {
		anObject8020 = ((NativeToolkit) this).anObject7919;
		aCanvas7910 = ((NativeToolkit) this).aCanvas7925;
	    }
	    if (aCanvas7910 == null || anObject8020 == null)
		throw new RuntimeException();
	    method3881(anObject8020, (byte) 99, aCanvas7910);
	    method3917(false);
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929(runtimeexception,
					    "wga.MF(" + (canvas != null
							 ? "{...}"
							 : "null") + ')');
	}
    }