final void method3643(Canvas canvas, int i, int i_177_) {
	do {
	    try {
		anInt7544++;
		if (aCanvas7626 == canvas)
		    throw new RuntimeException();
		if (aHashtable7577.containsKey(canvas))
		    break;
		if (!canvas.isShowing())
		    throw new RuntimeException();
		try {
		    Class var_class = Class.forName("java.awt.Canvas");
		    Method method
			= var_class.getMethod("setIgnoreRepaint",
					      new Class[] { Boolean.TYPE });
		    method.invoke(canvas, new Object[] { Boolean.TRUE });
		} catch (Exception exception) {
		    /* empty */
		}
		long l = anOpenGL7664.prepareSurface(canvas);
		if (l == -1L)
		    throw new RuntimeException();
		aHashtable7577.put(canvas, new Long(l));
	    } catch (RuntimeException runtimeexception) {
		throw Class348_Sub17.method2929(runtimeexception,
						("qo.VF("
						 + (canvas != null ? "{...}"
						    : "null")
						 + ',' + i + ',' + i_177_
						 + ')'));
	    }
	    break;
	} while (false);
    }