%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/cursos.tjamich.gob.mx/plugin/jcapture/src/com/hammurapi/jcapture/
Upload File :
Create Path :
Current File : /home/tjamichg/cursos.tjamich.gob.mx/plugin/jcapture/src/com/hammurapi/jcapture/Translucener.java

package com.hammurapi.jcapture;

import java.awt.Frame;

abstract class Translucener {
	
	protected abstract void makeTranslucent(Frame frame);
	
	static void makeFrameTranslucent(Frame frame) throws Exception {
		String jVersion = System.getProperty("java.version");
		if (jVersion==null || "1.6".equals(jVersion) || jVersion.startsWith("1.6.")) {
			((Translucener) Class.forName("com.hammurapi.jcapture.AWTUtilitiesTranslucener").newInstance()).makeTranslucent(frame);
		} else {
			((Translucener) Class.forName("com.hammurapi.jcapture.GraphicsDeviceTranslucener").newInstance()).makeTranslucent(frame);			
		}
	}
}

Zerion Mini Shell 1.0