jdk7 support

Hello,

I have changed the UISpec4j source code to make it work with jdk7 on GNU/Linux and all the tests pass.
I have tested with both oracle jdk and openjdk and it seems to work fine.
It would be nice to test it on Windows too.

Feel free to integrate any changes.

Regards,
-- 
Alex