Methods Summary |
---|
public static native void | freeResource(int awtObj, int dsObj)
|
public native int | getAWT()
|
public native int | getDrawingSurface(java.awt.Component c, int awtObj)
|
public native int | getDrawingSurfaceDisplay(int dsObj)
|
public native int | getDrawingSurfaceWinID(int dsObj)
|
public static native int | getWindowHandle(java.awt.Component c)
|
public int[] | getWindowInfo(java.awt.Component cc)
int value = 0;
value = getAWT();
if ( value == 0 ) {
winfo[valid] = 0;
return winfo;
}
winfo[pawt] = value;
value = getDrawingSurface(cc, winfo[pawt]);
if ( value == 0 ) {
winfo[valid] = 0;
return winfo;
}
winfo[pds] = value;
value = getDrawingSurfaceWinID(winfo[pds]);
if ( value == 0 ) {
winfo[valid] = 0;
return winfo;
}
winfo[pwinid] = value;
value = getDrawingSurfaceDisplay(winfo[pds]);
if ( value == 0 ) {
winfo[valid] = 0;
return winfo;
}
winfo[pdisp] = value;
winfo[valid] = 1;
return winfo;
|
public static native boolean | lockAWT(int dsObj)
|
public static native void | unlockAWT(int dsObj)
|