g.fillRect(0, 0, w, h);
g.setComposite(AlphaComposite.SrcOver);
Point origin = SwingUtilities.convertPoint(getParent(), 0, 0, win);
getParent().paint(g.create(origin.x, origin.y,
getWidth(), getHeight()));
BITMAPINFO bmi = new BITMAPINFO();
bmi.bmiHeader.biWidth = w;
bmi.bmiHeader.biHeight = h;
bmi.bmiHeader.biPlanes = 1;
bmi.bmiHeader.biBitCount = 32;
bmi.bmiHeader.biCompression = GDI32.BI_RGB;