Test with Jframe