I want to use a Windows native function that draws to an HDC. Is it possible to redirect this to a Java application or applet window?

Thanks in advance!