/* Class144_Sub1_Sub1_Sub2 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Canvas;
import java.awt.Dimension;

import jaggl.OpenGL;

public class Class144_Sub1_Sub1_Sub2 extends Class144_Sub1_Sub1
{
    Canvas aCanvas11722;
    OpenGL anOpenGL11723;
    long aLong11724;
    int anInt11725;
    int anInt11726;
    boolean aBool11727 = false;
    
    public int method8236(int i, int i_0_) {
	return 0;
    }
    
    Class144_Sub1_Sub1_Sub2(Class151_Sub2_Sub2 class151_sub2_sub2,
			    Canvas canvas, long l) {
	super(class151_sub2_sub2);
	((Class144_Sub1_Sub1_Sub2) this).aCanvas11722 = canvas;
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    = ((Class151_Sub2_Sub2) class151_sub2_sub2).anOpenGL11221;
	((Class144_Sub1_Sub1_Sub2) this).aLong11724 = l;
	method10623();
    }
    
    public int method1943() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11725;
    }
    
    public int method1944() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11726;
    }
    
    boolean method320() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	boolean bool = true;
	if (!((Class144_Sub1_Sub1_Sub2) this).aBool11727) {
	    bool
		= ((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
		      .setSurface(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	    ((Class144_Sub1_Sub1_Sub2) this).aBool11727 = true;
	}
	return bool && super.method320();
    }
    
    Class144_Sub1_Sub1_Sub2(Class151_Sub2_Sub2 class151_sub2_sub2,
			    Canvas canvas) {
	this(class151_sub2_sub2, canvas,
	     ((Class151_Sub2_Sub2) class151_sub2_sub2).anOpenGL11221
		 .prepareSurface(canvas));
    }
    
    void method8229(int i, int i_1_) {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .surfaceResized(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	method10623();
	super.method8229(i, i_1_);
    }
    
    public int method8228(int i, int i_2_) {
	return 0;
    }
    
    boolean method1945() {
	return true;
    }
    
    public int method8226(int i, int i_3_) {
	return 0;
    }
    
    public void method80() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 != 0L) {
	    ((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723.releaseSurface
		(((Class144_Sub1_Sub1_Sub2) this).aCanvas11722,
		 ((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	    ((Class144_Sub1_Sub1_Sub2) this).aLong11724 = 0L;
	}
    }
    
    public int method1946() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11725;
    }
    
    public int method1942() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11725;
    }
    
    public int method1947() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11725;
    }
    
    public int method1948() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11725;
    }
    
    public int method1949() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11726;
    }
    
    public int method1950() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11726;
    }
    
    public int method1951() {
	return ((Class144_Sub1_Sub1_Sub2) this).anInt11726;
    }
    
    boolean method321() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	boolean bool = true;
	if (!((Class144_Sub1_Sub1_Sub2) this).aBool11727) {
	    bool
		= ((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
		      .setSurface(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	    ((Class144_Sub1_Sub1_Sub2) this).aBool11727 = true;
	}
	return bool && super.method320();
    }
    
    boolean method1952() {
	return true;
    }
    
    void method10618() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
    
    public void method314() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 != 0L) {
	    ((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723.releaseSurface
		(((Class144_Sub1_Sub1_Sub2) this).aCanvas11722,
		 ((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	    ((Class144_Sub1_Sub1_Sub2) this).aLong11724 = 0L;
	}
    }
    
    void method8230(int i, int i_4_) {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .surfaceResized(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	method10623();
	super.method8229(i, i_4_);
    }
    
    public void method316() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 != 0L) {
	    ((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723.releaseSurface
		(((Class144_Sub1_Sub1_Sub2) this).aCanvas11722,
		 ((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	    ((Class144_Sub1_Sub1_Sub2) this).aLong11724 = 0L;
	}
    }
    
    void method8227(int i, int i_5_) {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .surfaceResized(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	method10623();
	super.method8229(i, i_5_);
    }
    
    public int method8231() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .swapBuffers(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	return 0;
    }
    
    public int method8233() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .swapBuffers(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	return 0;
    }
    
    public int method8232() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .swapBuffers(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	return 0;
    }
    
    public int method8235(int i, int i_6_) {
	return 0;
    }
    
    void method10619() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
    
    void method10620() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
    
    public int method8234() {
	if (((Class144_Sub1_Sub1_Sub2) this).aLong11724 == 0L)
	    throw new IllegalStateException("");
	((Class144_Sub1_Sub1_Sub2) this).anOpenGL11723
	    .swapBuffers(((Class144_Sub1_Sub1_Sub2) this).aLong11724);
	return 0;
    }
    
    void method10621() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
    
    void method10622() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
    
    void method10623() {
	Dimension dimension
	    = ((Class144_Sub1_Sub1_Sub2) this).aCanvas11722.getSize();
	((Class144_Sub1_Sub1_Sub2) this).anInt11726 = dimension.height;
	((Class144_Sub1_Sub1_Sub2) this).anInt11725 = dimension.width;
    }
}
