Risky business. Java is meant to execute Java code, not native code. Of course everything is possible, but not everything is a good idea especially when working with applets.
In any case to do stuff with COM objects from Java, you are probably best of looking into JACOB:
but how that would work from an applet, I have absolutely no clue.