Implement a simple GUI use win32 api.
But it can not run with mingw even I use "g++ -mwindows". So I use VC2008 ran it.
The first GUI looks like following picture. When a mouse down event happen it called to JAVA code. And the Java code will draw a text on the window.