Wanna Test Natives from Java ?

For quite a few years I have been working on an application which is native UI (written in C++) embedded in Eclipse SWT / Swing panels / composites. While I wrote some JUnit Tests for the GUI automation using SWTBot, I could not write test cases for native UI dialogs since SWTBot doesn't support for Windows Native UI components.

While looking for some open source library / framework for the same.. I came across a nice white paper by some VMWare guy which solved my problem :

All you need is couple of JNA libraries and a handful of classes in the white paper.