calling windows api from java applet

I am trying to call some widows APIs from a browser java applet but I can't figure out how to do this. First of all I want to know if it is possible to call windows APIs and second if there is something easier then JNI to do this ?