Reputation: 95
Is there any way to use Windows API i.e user32.dll in java??
Upvotes: 0
Views: 8132
Reputation: 13709
You may use:
Upvotes: 3
Reputation: 404
Certainly is. Take a look at http://www.codeguru.com/java/tij/tij0193.shtml for a discussion of J/Direct which lets you interface with just about any api. The example there is in fact user32.dll
Edit: J/Direct is no longer maintained and is also Windows only, might well be better off with Erik's JNA suggestion above
Upvotes: 0